public
Description: bash scripts, aliases, other misc things go here
Homepage: http://opensource.thinkrelevance.com
Clone URL: git://github.com/relevance/etc.git
Jason Rudolph (author)
Fri Apr 11 08:16:40 -0700 2008
commit  feb39741e6623b9b4f5e3a7a6cf5dd8d420ee6c2
tree    7ba464628e4042e3e192e4f861bd52420157fb8d
parent  fe29f10dac5130225b4b9852dbab80b2fdda310e
etc / bash / gitconfig_aliases
100644 17 lines (12 sloc) 0.402 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Add this to .gitconfig in your home dir to enable things like "git ci -m message"
[alias]
  ci = commit
  co = checkout
  st = status
  br = branch
 
  # show difference between the HEAD and the index
  staged = diff --cached
  
  # show difference between working tree and the index
  unstaged = diff
 
  # show staged and unstaged changes (what would be committed with "git commit -a")
  both = diff HEAD