GIT commands seen today - mpicbg-rse/stuff GitHub Wiki
Forgive me the bad formatting... while listening my head exploded... ;)
A simple GIT commit: git commit -s -m "Commit message..." Parameters: -s: sign off -m: avoid editor to be opened and set commit message directly
The '-p' will ??? git show -p
Show how your working copy is changed: git diff
Show the log, compact and with graph: git log --oneline --graph
git rebase -i --root -i: interactive --root: change everything
More crazy shit: git log HEAD@{7.days.ago}
Start a 'Edit Patch Series': git rebase -i e.g. git rebase -i HEAD~10 --autosqush
Fell free to add to .gitconfig: [rebase] autosquash = true
Alternaive: git config --global rebase.autosquash true
git log --graph --oneline -- decorate --left-right --boundary --boundary: shows also the context commits