Skip to content

Commit

Permalink
Update git aliases (short status and diff with --word-diff)
Browse files Browse the repository at this point in the history
  • Loading branch information
VanTanev committed Jul 6, 2012
1 parent e4fd0e8 commit 1b70ade
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .gitconfig
@@ -1,5 +1,5 @@
[user]
name = CraftyShadow
name = IvanTanev
email = vankata.t@gmail.com
[color]
branch = auto
Expand All @@ -24,14 +24,17 @@

[core]
whitespace=fix;-indent-with-non-tab,trailing-space,cr-at-eol
autocrlf = true

[alias]
st = status
st = status -sb
aa = add --all
ci = commit
co = checkout
di = diff
df = diff
dfw = diff --word-diff
dc = diff --cached
dcw = diff --cached --word-diff
ig =!([ ! -e .gitignore ] && touch .gitignore) | echo $1 >>.gitignore
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\t=> \\2/' | sort
amend = commit --amend
Expand All @@ -48,7 +51,6 @@
pom = push origin master
pod = push origin develop
br = branch
df = diff
tagdate = !git tag `date "+%Y%m%d%H%M"`

# Show status and diff of dirty submodules
Expand Down Expand Up @@ -83,3 +85,5 @@

[gui]
encoding = utf-8
[push]
default = upstream

0 comments on commit 1b70ade

Please sign in to comment.