Post

Git

Git cheatsheet

  • git-dumper
  • search for credentials / tokens / usernames
1
2
3
4
5
6
git log # show commit history
git show <commit-id> # show commit changes

git status # show not committed changes
git diff --cached <file> # show uncommited changes
git restore <file> # restore deleted file
This post is licensed under CC BY 4.0 by the author.