Articles under category Git

 Git

Just now I used the desktop GitHub hand to remend a Revert, and the file was deleted. I made a Revert file on this submission again.

But I watched these two times without any oval submission. 80 Itchy, X for a while.

Find the way to follow this person's own way, and withdraw this way in your own way.

 Git reset --hard <commit_ Id>

Commit_ ID is the form 44c7aa824b0f6383ad1eaf037185ea25cb77878f in log.
Use the desktop version of GitHub to omit the Sha code of 6 digits, and it can also be withdrawn.


In addition to commit_ There are two ways besides ID.

 --HEAD / / last submitted to 
--HEAD^ / / last submission.