From 60cc2c5a6a6dcd0a87928c0de6538655f7b5dfc0 Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Mon, 29 May 2017 02:41:05 +0900 Subject: [PATCH] Move git aliases out of gitconfig So it can be more effective. Signed-off-by: Yongmin Hong --- .gitaliases | 11 +++++++++++ gitconfig.sample | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 .gitaliases diff --git a/.gitaliases b/.gitaliases new file mode 100644 index 0000000..75665d6 --- /dev/null +++ b/.gitaliases @@ -0,0 +1,11 @@ +[alias] + co = checkout + cm = commit -S -s + st = status + br = branch -v + fa = fetch --all + graph = log --pretty=format:\"%h %s\" --graph + usync = rebase upstream/master + aal = add * + po = push origin master + amend = commit --amend -S -s diff --git a/gitconfig.sample b/gitconfig.sample index 8600222..6cd92df 100644 --- a/gitconfig.sample +++ b/gitconfig.sample @@ -2,14 +2,3 @@ name = Yongmin Hong email = revi@pobox.com signingkey = BEFF197A -[alias] - co = checkout - cm = commit -S -s - st = status - br = branch -v - fa = fetch --all - graph = log --pretty=format:\"%h %s\" --graph - usync = rebase upstream/master - aal = add * - po = push origin master - amend = commit --amend -S -s