Last active
February 14, 2018 21:48
-
-
Save adilsoncarvalho/8441031 to your computer and use it in GitHub Desktop.
basic git configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| git config --global color.ui true | |
| git config --global core.editor vim | |
| git config --global merge.ff false | |
| git config --global pull.rebase true | |
| git config --global alias.s 'status -sb' | |
| git config --global alias.k 'log --graph --abbrev-commit --decorate --date=local --format=format:"%C(bold blue)%h%C(reset) - %C(bold green)(%ad)%C(reset) %C(white)%s%C(reset) %C(dim white)%C(reset)%C(bold yellow)%d%C(reset) [%an]" --all' | |
| git config --global alias.l 'log --graph --abbrev-commit --decorate --date=local --format=format:"%C(bold blue)%h%C(reset) - %C(bold green)(%ad)%C(reset) %C(white)%s%C(reset) %C(dim white)%C(reset)%C(bold yellow)%d%C(reset) [%an]"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment