From ca0cd585e734508f096d6bb4c18eabd9a7e2d979 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 16 Sep 2009 21:36:17 -0400 Subject: [PATCH] add git shortcuts --- .gitconfig | 18 ++++++++++++++++++ .profile.d/aliases.sh | 1 + 2 files changed, 19 insertions(+) diff --git a/.gitconfig b/.gitconfig index c4f10de..25d7421 100644 --- a/.gitconfig +++ b/.gitconfig @@ -14,6 +14,24 @@ meta = magenta [push] default = current +[alias] + a = add + b = branch + co = checkout + cp = cherry-pick + d = diff + f = fetch + fp = format-patch + l = log + m = merge + rb = rebase + rb-a = rebase --abort + rb-c = rebase --continue + rb-i = rebase --interactive + rb-s = rebase --skip + rl = rev-list + se = send-email + st = status [sendemail] chainreplyto = false suppressfrom = true diff --git a/.profile.d/aliases.sh b/.profile.d/aliases.sh index ba851c4..65241ef 100644 --- a/.profile.d/aliases.sh +++ b/.profile.d/aliases.sh @@ -6,6 +6,7 @@ alias bc='bc -q' #alias bt='bittorrent-curses --max_upload_rate 10 --save_in . --save_incomplete_in .' alias duh='du . --max-depth=1 -h' alias eclipse='eclipse-3.2 -vmargs -Xmx512m' +alias g='git' alias gdb='gdb --quiet' alias gdbtui='gdbtui --quiet' alias grep='grep --colour=auto' -- 2.39.5