.gitconfig

Sun, 29 Jun 2014 22:58:54 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 29 Jun 2014 22:58:54 -0400
branch
mhoward-lt
changeset 92
92aa984868e2
parent 91
d4856ddaffd9
child 98
7d66a2422bbc
permissions
-rw-r--r--

use the longer aliases

91
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 [user]
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 email = mhoward@roomag.org
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 name = Meredith Howard
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 [ui]
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 color = true
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 [core]
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 pager = LESS='FSRX' less
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 [alias]
92
92aa984868e2 use the longer aliases
Meredith Howard <mhoward@roomag.org>
parents: 91
diff changeset
12 ci = commit
92aa984868e2 use the longer aliases
Meredith Howard <mhoward@roomag.org>
parents: 91
diff changeset
13 record = !sh -c '(git add -p -- $@ && git commit -v ) || git reset' --
92aa984868e2 use the longer aliases
Meredith Howard <mhoward@roomag.org>
parents: 91
diff changeset
14 update = !git fetch --all --tags --prune && git pull --rebase
92aa984868e2 use the longer aliases
Meredith Howard <mhoward@roomag.org>
parents: 91
diff changeset
15 incoming = "!git remote update -p; git log ..@{u}"
92aa984868e2 use the longer aliases
Meredith Howard <mhoward@roomag.org>
parents: 91
diff changeset
16 outgoing = log @{u}..
92aa984868e2 use the longer aliases
Meredith Howard <mhoward@roomag.org>
parents: 91
diff changeset
17 glog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
91
d4856ddaffd9 Add gitconfig, copy brock's aliases since he's an hg fan too
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18

mercurial