Skip to content

Instantly share code, notes, and snippets.

@oz-urabe
Last active July 31, 2020 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oz-urabe/80d4e52c3b3d13602685582ffdf5632f to your computer and use it in GitHub Desktop.
Save oz-urabe/80d4e52c3b3d13602685582ffdf5632f to your computer and use it in GitHub Desktop.
urabe gitconfig
[user]
name = Shinichi Urabe
email = s-urabe@oz-vision.co.jp
[core]
excludesfile = ~/.gitignore
autoCRLF = false
editor = vim
quotepath = false
safecrlf = true
[alias]
b = branch
f = fetch
l = log --graph --pretty=full --stat
ci = commit -v
sh = show -p --stat
st = status
stat = status
sw = checkout
di = diff
merge-from-master = !git fetch && git merge origin/master
merge-from-release = !git fetch && git merge origin/release
sw-by-master = "!f(){ git fetch && git checkout -b $1 origin/master; }; f"
sw-by-release = "!f(){ git fetch && git checkout -b $1 origin/release; }; f"
[color]
diff = auto
status = auto
branch = auto
[pull]
rebase = preserve
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[commit]
gpgsign = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment