Skip to content

Instantly share code, notes, and snippets.

@Ation
Last active February 19, 2020 07:47
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 Ation/7cc698384ea0b3b95c410152787c7b05 to your computer and use it in GitHub Desktop.
Save Ation/7cc698384ea0b3b95c410152787c7b05 to your computer and use it in GitHub Desktop.
My git configs
#!/bin/bash
#common configs
#aliases
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.su "submodule update --recursive"
#other
git config --global push.default current
# user specific configs
git config --global user.name Ation
git config --global user.email gation@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment