From: Mike Frysinger Date: Thu, 17 Sep 2009 01:36:17 +0000 (-0400) Subject: add git shortcuts X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ca0cd585e734508f096d6bb4c18eabd9a7e2d979;p=home.git add git shortcuts --- 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'