From 4b480bda71b903590b4138a40f874d1adf6e5fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Mon, 25 Apr 2016 20:35:37 +0200 Subject: [PATCH] added human aliases --- .gitconfig | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitconfig b/.gitconfig index 55d49a0..6748db4 100644 --- a/.gitconfig +++ b/.gitconfig @@ -16,12 +16,17 @@ default = simple [alias] st = status - ap = add --patch - dx = diff --cached - di = diff - co = checkout - dit = difftool --dir-diff - lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + + precommit = diff --diff-algorithm=minimal -w + interative = add --patch + + diffdir = difftool --dir-diff + graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + + unstage = reset -q HEAD -- + discard = checkout -- + uncommit = reset --mixed HEAD~ + amend = commit --amend [core] editor = vim [diff]