Be curious not jugdemental
Be curious not jugdemental

Git cheat sheet

Martin Wieser
Forget files in git
git rm -r --cached <folder>
Find large files
git cat-file --batch-check < <(git rev-list --all --objects | \
awk '{print $1}') | grep blob | sort -n -r -k 3

git ls-tree -r --full-tree

Useful commands

useful commands

Git ignore


Credentials manager

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-wincred.exe"

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
) instead.