Last active
October 28, 2020 14:29
-
-
Save angeloevangelista/e6606a8a3829028b7a08a70be68503c9 to your computer and use it in GitHub Desktop.
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 = Angelo Evangelista | |
email = angeloevan.ane@gmail.com | |
[core] | |
editor = code | |
excludesfile = ~/gitignore | |
quotepath = false | |
[color] | |
status = auto | |
branch = auto | |
interactive = auto | |
diff = auto | |
[instaweb] | |
httpd = webrick | |
port = 8000 | |
[git-tmbundle "log"] | |
limit = 10 | |
[mergetool] | |
keepBackup = true | |
[pretty] | |
pretty-history = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset | |
[alias] | |
freebase = pull --rebase | |
commit = commit -a -v | |
ci = commit | |
co = checkout | |
b = branch | |
nb = checkout -b | |
stat = status | |
sl = stash list | |
sa = stash apply | |
sd = stash drop | |
quicklog = log --pretty=format:'%Cblue%h %Cred%cD %Creset%cn %Cgreen%s%Creset' --date-order --graph | |
changes = log --oneline --decorate | |
changelog = show --name-only | |
svnup = svn rebase | |
svnpush = svn dcommit | |
commitnumber = !git log --pretty=oneline | wc -l | |
diffmate = !sh -c 'git diff HEAD $1 | mate -' - | |
difffile = !sh -c 'git diff HEAD $1 | mate -' - | |
diffile = !sh -c 'git diff HEAD $1 | mate -' - | |
difile = !sh -c 'git diff HEAD $1 | mate -' - | |
worddiff = diff --word-diff | |
fakeignore = update-index --assume-unchanged | |
ignore = update-index --assume-unchanged | |
undo = reset --soft --keep HEAD^ | |
unstage = reset HEAD | |
first = !sh -c 'git log origin/master --pretty=format:%H --reverse | head -1' | |
lasttag = !sh -c 'git log --simplify-by-decoration --decorate=short --tags --format="%H" |head -1' | |
wtf = !git-wtf | |
has = branch --contains | |
db = !sh -c 'git branch -D $1 && git push origin :$1' - | |
sweep = !sh -c 'git-sweep cleanup' | |
ph = log --graph --pretty=pretty-history --abbrev-commit --date=relative | |
permission-reset = "git clone git://github.com/balupton/history.js.git help config diff -p | grep -E '^(diff|old mode|new mode)' | sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' | git apply" | |
username = config --get user.name | |
standup = !sh -c 'git log --pretty=format:\"%Cred%h%Creset - %Cgreen%cr%Creset : %s\" --since=\"`date -v-1d \"+%Y-%m-%d 00:00:00\"`\" --until=\"`date \"+%Y-%m-%d 00:00:00\"`\" --all --author=\"`git config --get user.name`\"' | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment