Fork me on GitHub

MoYummy's Blog

Git reset

  • 23 Nov 2016 100 views Comment(100) Like Report
    Category: git (3)
  • git reset [commit] # reset local to that commit
    git stash # save changes
    git push -f # force push to remote
    git stash pop # load changes
    git status # commit list has change to that commit with changes after it
    
  • 2017 Mo Yummy
    Powered by Jekyll and Bootstrap
    Creative Commons License
    This work is licensed under a Creative Commons Attribution 4.0 International License.