# STAGE & SNAPSHOT
git config --global alias.st status
git config --global alias.a "add ."
git config --global alias.ci commit
# BRANCH & MERGE
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.lg "log --graph --oneline --decorate --all"
# REWRITE HISTORY
git config --global alias.unstage 'reset HEAD -- .'
git config --global alias.rb rebase
# IGNORING PATTERNS
git config --global core.excludesfile [file]
# System-level configuration
git config --system --edit
Last active
August 29, 2024 15:45
-
-
Save charlesfranciscodev/130d69b3b00056774017898e9d7b8a22 to your computer and use it in GitHub Desktop.
git commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment