.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'
Written by Zhenya Sokovikov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#