Created
May 5, 2023 01:36
-
-
Save bc-lee/e673a0361ecb634146ec99db59952e76 to your computer and use it in GitHub Desktop.
My .gitconfig
This file contains 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
[core] | |
precomposeunicode = true | |
autocrlf = false | |
[rebase] | |
abbreviateCommands = true | |
[merge] | |
renameLimit = 1048576 | |
ff = no | |
[diff] | |
rebaselimit = 1048576 | |
[pull] | |
ff = only | |
[init] | |
defaultBranch = master | |
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
ignore = "!gi() { curl -sL https://www.gitignore.io/api/$@ ;}; gi" | |
detach = "!d() { git checkout $(git rev-parse --short HEAD) ;}; d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment