Skip to content

Instantly share code, notes, and snippets.

@kdaisho
Last active August 27, 2023 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdaisho/d627ac3b2139bf8f6f777cc1bedf09d8 to your computer and use it in GitHub Desktop.
Save kdaisho/d627ac3b2139bf8f6f777cc1bedf09d8 to your computer and use it in GitHub Desktop.
Git setup/delete/list aliases
# set aliases
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.st status
# list aliases
git config --get-regexp ^alias
# delete alias (e.g., delete st)
git config --global --unset alias.st
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment