Skip to content

Instantly share code, notes, and snippets.

@tomoTaka01
Created April 16, 2016 23:28
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 tomoTaka01/99a91fabcc904180768ee87e05704c96 to your computer and use it in GitHub Desktop.
Save tomoTaka01/99a91fabcc904180768ee87e05704c96 to your computer and use it in GitHub Desktop.
config for git(need to add more...)
[user]
name = tomo taka
email = xxx@company.com
[core]
editor = vim
excludesfile = ~/.gitignore
[push]
default = matching
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[diff]
tool = vimdiff
[difftool]
prompt = false
[alias]
b = branch
#############
c = commit
ca = commit -a
cm = commit -m
#############
d = diff
#############
f = fetch
#############
l = log --oneline
lg = log --oneline --graph --decorate
#############
s = status
sb = status -s -b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment