Adding to the g-code?

Anyone tried to add auto home on the end of your print? What command should you use if you wanted to add it? I’ve just used Repitier for my print so far, is there any program that does this automatically?

/Ethzor

You can add this command in the end-gcode in repetier.