Skip to content

Instantly share code, notes, and snippets.

@RonTai
Last active April 21, 2020 05:15
Show Gist options
  • Save RonTai/5268446 to your computer and use it in GitHub Desktop.
Save RonTai/5268446 to your computer and use it in GitHub Desktop.
.gitconfigです
[http]
sslVerify = false
[alias]
rco = "!f () { git checkout -b $1 origin/$1 ;};f"
fe = fetch --prune
co = checkout
ffs = flow feature start
fff = flow feature finish -F
frs = flow release start
frf = flow release finish
ffpb = flow feature publish
ffpl = flow feature pull
fhs = flow hotfix start
fhf = flow hotfix finish
st = status
ci = commit
# lg = log --graph --date=iso --pretty='%C(yellow)%h%Creset %C(cyan bold)%d%Creset %s %Cgreen[%cd]%Creset' --decorate --all --stat
lgs = log --oneline --graph --date=iso --pretty='%C(blue)%an %C(yellow)%h %Creset %C(cyan bold)%d %C(bold green)[%cd] %C(bold green)(%ar) \n\t ⇒ %Creset %s %Creset' --decorate --all --stat --branches
lg = log --oneline --graph --date=iso --pretty='%C(blue)%an %C(yellow)%h %Creset %C(cyan bold)%d %C(bold green)[%cd] %C(bold green)(%ar) \n\t ⇒ %Creset %s %Creset' --decorate --stat --branches
[user]
name = hoge
email = foo
[core]
editor = vim -c \"set fenc=utf-8\"
autocrlf = input
excludesfile = /foo/hoge/.gitignore_global
#[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