Last active
April 21, 2021 23:13
-
-
Save ronaldsuwandi/9966293 to your computer and use it in GitHub Desktop.
My personal 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
[user] | |
name = Ronald Suwandi | |
email = [email protected] | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = subl -n -w # sublime text | |
[diff] | |
tool = default-difftool | |
[difftool] | |
prompt = false | |
[difftool "default-difftool"] | |
cmd = code -w -d $LOCAL $REMOTE # visual code studio | |
[color] | |
ui = true | |
[alias] | |
co = checkout | |
st = status | |
tree = log --graph --decorate=short --branches --date=relative --abbrev-commit --shortstat --remotes=origin --source | |
tr = log --graph --decorate=short --branches --date=relative --abbrev-commit --shortstat --remotes=origin --source | |
trst = log --graph --decorate=short --branches --date=relative --abbrev-commit --stat --remotes=origin --source | |
dt = difftool | |
mt = mergetool | |
[push] | |
# push the current branch to a branch of the same name | |
default = current | |
[init] | |
defaultBranch = main | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment