Skip to content

Instantly share code, notes, and snippets.

@echojc
Created March 26, 2013 03:16
Show Gist options
  • Save echojc/5242849 to your computer and use it in GitHub Desktop.
Save echojc/5242849 to your computer and use it in GitHub Desktop.
I don't think this is how they intended you to use it.
# ~/.bashrc
alias g='git'
# ~/.gitconfig
[alias]
l = log
o = checkout
p = pull --rebase
s = status
c = commit
n = clone
r = cherry-pick
d = diff
w = diff --word-diff=color
t = stash
g = gui
u = push
f = fetch
m = merge
a = add
# example
$ g c -a -m "this is a commit"
@fgeller
Copy link

fgeller commented Mar 26, 2013

g l && g g

;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment