category 03 / 10
Git
Recovering, rebasing, inspecting, and cleaning up repositories.
005
entries
4 min
avg read
045See which commits are on a branch but not on maingit log --oneline main..feature037Count who has actually committed to a repository, and how muchgit shortlog -sne --no-merges HEAD028Find out who actually wrote a line after a bulk reformatgit blame -w --ignore-revs-file .git-blame-ignore-revs src/auth.js016Bring back the commits you lost to a bad resetgit reflog show --date=relative HEAD009Search your Git history for a deleted function or stringgit log -S"handleAuth" --oneline --all
showing 005 of 005