From 47ae0c9e6b1a6d0dd3cede540c4954255281ed06 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Mon, 5 Sep 2016 20:33:23 +0300 Subject: [PATCH] add new git aliases --- .gitconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 4b5a47d..60bf6c1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,5 +1,4 @@ -[core] - editor = gvim --nofork + [color] diff = auto status = auto @@ -8,8 +7,10 @@ ui = auto [alias] # Shorten some often used commands + b = branch c = commit co = checkout + com = checkout master ss = status s = status -s ds = diff --staged @@ -20,6 +21,7 @@ unignore = !git update-index --no-assume-unchanged ignored = !git ls-files -v | grep "^[[:lower:]]" undo = reset --soft HEAD^ + squash = rebase -i # various pretty loggers from various places l = log --pretty=oneline --abbrev-commit