Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 359 Bytes

git.md

File metadata and controls

16 lines (9 loc) · 359 Bytes

Interactif rebase to rewrite commits historic:

git rebase -i HEAD~10

Cancel last commit:

git reset HEAD~

Git lg:

git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"