Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

after checking out a previous commit go back to latest commit

git checkout <commit hash>	# go to previous commit
git revert <commit hash>  	# revert action of going to previous commit
Source by code.likeagirl.io #
 
PREVIOUS NEXT
Tagged: #checking #previous #commit #latest #commit
ADD COMMENT
Topic
Name
1+6 =