Horje
how to move to previous commit in git Code Example
move to last commit
git reset --hard HEAD
git move branch to previous commit
git checkout 1258f0d0aae    #detach from master
git branch -f master HEAD   #exactly as above

#optionally reattach to master
git checkout master
how to move to previous commit in git
git checkout <commit-id> .
git add .
git commit -m "Reverting to <commit-id>"
git push
Source: medium.com




Shell

Related
remove image docker Code Example remove image docker Code Example
grep without Code Example grep without Code Example
grep without match Code Example grep without match Code Example
code command line options Code Example code command line options Code Example
git config global credential cache Code Example git config global credential cache Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9