Last active
August 21, 2017 14:49
-
-
Save superzadeh/ecc9a8e36de44d94900ad5c685295fb4 to your computer and use it in GitHub Desktop.
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
[user] | |
name = Charles Ahmadzadeh | |
email = [email protected] | |
[push] | |
default = current | |
[core] | |
editor = code --wait | |
[alias] | |
ll = log --pretty=format:'%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]' --decorate --numstat | |
ls = log --pretty=format:'%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn] - %Cgreen%ad' --decorate --date=short | |
l = --pretty=format:'%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn] - %Cgreen%ad' --decorate --date=short | |
c = commit -am | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat" | |
[pager] | |
# insanely beautiful diffs ==> npm install -g diff-so-fancy | |
diff = diff-so-fancy | less --tabs=4 -RFX | |
show = diff-so-fancy | less --tabs=4 -RFX | |
[diff] | |
tool = default-difftool | |
[difftool "default-difftool"] | |
cmd = code --wait --diff $LOCAL $REMOTE | |
[merge] | |
tool = kdiff3 | |
[mergetool "kdiff3"] | |
path = C:/Program Files/KDiff3/kdiff3.exe | |
trustExitCode = false | |
# correct typos | |
[help] | |
autocorrect = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment