Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git get back to most recent commit

# Go to latest commit of a branch
git checkout branchname
# You can also do to switch back to wherever it was before the last checkout. 
git checkout -
 
PREVIOUS NEXT
Tagged: #git #commit
ADD COMMENT
Topic
Name
7+8 =