Last Updated: February 25, 2016
·
505
· skv-headless

.gitconfig

Just my .gitconfig

[user]
        name = skv-headless
        email = skv-headless@yandex.ru
[core]
        editor = vim
        excludesfile = ~/.gitignore

[merge]
        tool = vimdiff
[color]
   branch = auto
   diff = auto
   interactive = auto
   status = auto
   ui = auto
   pager = true

[merge]
   summary=true

[alias]
  b = branch -v
  r = remote -v
  t = tag -l
  cp = cherry-pick -x
  co = checkout
  br = branch
  ci = commit
  st = status -sb
  ds = diff --staged
  amend = commit --amend -C HEAD
  undo = reset --soft HEAD^
  unstage = reset HEAD --
  uncommit = reset --soft HEAD^
  last = log -1 HEAD
  up = pull --rebase
  put = push origin HEAD
  latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short) [%(committername)]'
  ls = log  --decorate --date=short
  graph = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'