diff options
Diffstat (limited to '.gitconfig')
| -rw-r--r-- | .gitconfig | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..160b1eb --- /dev/null +++ b/.gitconfig @@ -0,0 +1,54 @@ +[user] + name = Yuval Adam + email = yuv.adm@gmail.com + +[color] + diff = auto + status = auto + branch = auto + interactive = auto + ui = true + pager = true + +[color "branch"] + current = red + local = yellow + remote = green + +[color "diff"] + meta = yellow + frag = magenta + old = red + new = green + +[color "status"] + added = yellow + changed = green + untracked = cyan + +[alias] + st = status + cam = commit -a -m + cm = commit -m + br = branch + com = checkout master + co = checkout + cob = checkout -b + lg = ! git --no-pager log --oneline --graph -n 18 --decorate + pure = pull --rebase + d = diff + dc = diff --cached + cfd = clean -fd + assun = update-index --assume-unchanged + noassun = update-index --no-assume-unchanged + rh = reset HEAD + cmend = commit --amend -C HEAD + camend = commit --amend -a -C HEAD + ca = commit -a + brt = branch --track + +[core] + excludesfile = ~/.gitignore + editor = vim +[push] + default = matching |
