git tips
- 
    
modify the last commit
git commit --amend - 
    
modify the last 5 commit
git rebase -i HEAD~5modify
pickof which you want to modify toeditand :wq to exit.git logyou can find you are at the commit which you
edit, do as modify the last commit andgit commit --amendback by
git rebase --continue - 
    
undo all the works, back to latest commit state
git reset --hard HEAD