Browse Source

Added git alias dc - "diff --cached"

Alois Mahdal 11 years ago
parent
commit
5087be234d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotfiles/git-universe/gitconfig

+ 1
- 0
dotfiles/git-universe/gitconfig View File

10
     editor = vim
10
     editor = vim
11
 [alias]
11
 [alias]
12
   gr = log --graph --full-history --all --color --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
12
   gr = log --graph --full-history --all --color --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x1b[0m"
13
+  dc = diff --cached