Skip to content

Instantly share code, notes, and snippets.

@kei-p
Created July 23, 2015 02:33
Show Gist options
  • Save kei-p/15eaf681bca3a2f3f87f to your computer and use it in GitHub Desktop.
Save kei-p/15eaf681bca3a2f3f87f to your computer and use it in GitHub Desktop.
[core]
editor = vim -c \"set fenc=utf-8\"
[alias]
ctree = log --color --graph --date-order --pretty=format:'%x09%C(yellow)%h%Creset%x09%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
tree = log --color --graph --date-order --all --pretty=format:'%x09%C(yellow)%h%Creset%x09%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ck = checkout
pff = pull --ff-only
prebase = pull --rebase
fprune = fetch --prune
prbdev = pull --rebase origin develop
ffs = flow feature start
fff = flow feature finish
nbranch = checkout -b
dbranch = branch -D
cbranch = "!f(){ git nbranch \"$2\" \"$1/$2\";};f"
close-issue = "!f(){ git commit --allow-empty -m \"Closed #$1\";};f"
[color]
ui = auto
[log]
decorate = short
[push]
default = simple
[merge]
tool = vimdiff
ff = false
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment