Graph log one-liner
ASCII branch graph of the full commit history
git log --oneline --graph --decorate --all
More git commands
-
git reset HEAD~1Move HEAD back one commit; staged changes return to working tree
-
git restore . && git clean -fdReset tracked files and remove untracked files/directories
-
git tag -l -n1List all tags with their first annotation line
-
git tag -s v1.2.3 -m 'Release 1.2.3'GPG-signed annotated tag for releases
-
git fetch --pruneRemove local refs to remote branches that no longer exist