Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 295 Bytes

git.md

File metadata and controls

16 lines (9 loc) · 295 Bytes

Rebase

git rebase -i HEAD~5
git rebase -i master

Reset from remote

git reset --hard origin/master

Get number of line

git ls-files | xargs wc -l

See nicely formatted logs

git log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=relative