Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git go back one commit

#You need to be careful with going back a commit, you could reset your 
#branch and loose all of your work. 

#safe option:
git checkout <commit-id>




Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #commit
ADD COMMENT
Topic
Name
8+7 =