Git Master HEAD Commit


to go back to the main (master) HEAD commit, all you have to do is send this command:


git commit master

thats it. you can use this simple command to go back to the last main head or master commit. i thought it was going to be very hard to swtich back to the last commit, but it turns out its very eash with this command thanks