Skip to content

Instantly share code, notes, and snippets.

@mCzolko
Last active June 24, 2019 08:02
Show Gist options
  • Save mCzolko/79bfff26c3fe857a7198 to your computer and use it in GitHub Desktop.
Save mCzolko/79bfff26c3fe857a7198 to your computer and use it in GitHub Desktop.
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
who = shortlog -s --
mergedone = merge --no-ff --no-commit
fo = fetch origin
rh = reset --hard origin
rs = reset --soft
md = merge --no-ff --no-commit
pr = pull --rebase
po = push origin
pp = push origin
deploy = push heroku master
aa = add --all
l1 = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
lss = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
lg = log --color --graph --pretty=format:'%Cred%h%Creset %cr %C(cyan)%an%Creset%Creset %Cgreen%s %C(yellow)%d %Creset' --abbrev-commit --
ll = log --pretty=format:"%Cred%h\\ %C(cyan)%cn\\ %Creset%Cgreen%s\\ %C(yellow)%d" --decorate --numstat
ls = log --pretty=format:"%Cred%h%C(cyan)\\ %cn\\ %Cgreen%s%C(yellow)%d\\ %Creset" --decorate
[user]
email = michael@czolko.cz
name = Michael Czolko
[core]
excludesfile = /Users/ejay/.gitignore
editor = vim
[color]
ui = true
[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
[push]
default = matching
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment