From 9ee419ebc579d15979fa93fd581b3318117cce66 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Fri, 2 Mar 2018 23:10:13 +0100 Subject: [PATCH] gitconfig: add git aliases for often used git commands --- gitconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gitconfig b/gitconfig index cfbddbc..7b65888 100644 --- a/gitconfig +++ b/gitconfig @@ -5,3 +5,18 @@ editor = vim [commit] verbose = true +[alias] + a = add + ap = add -p + br = branch + ca = commit --amend + c = commit + co = checkout + d = diff + ds = diff --staged + f = fetch + g = grep + p = push + s = status + st = status + t = tag