-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
35 lines (35 loc) · 1.2 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Steve Guo
email = steve.guo@carleton.ca
[alias]
st = status
br = branch
co = checkout
cm = commit
ec = config --global -e
df = diff
sl = stash list
sd = stash drop
sp = stash pop
sw = stash show -p
sta = stash
fu = update-index --assume-unchanged
fud = ! git ls-files -v `git rev-parse --show-toplevel` | grep "^[a-z]"
sorry = update-index --no-assume-unchanged
save = ! git add -A && git commit -m 'SAVEPOINT'
wip = commit -am "WIP"
undo = reset HEAD~1 --mixed
wipe = ! git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
aa = add -A
lg = log --oneline --graph --color --decorate
hid = ! git ls-files -v | grep '^S'
ax = ! sh -c 'echo "$1" >> .git/info/exclude' -
axed = ! cat .git/info/exclude
sh = ! git log -1 | cowsay -f dragon-and-cow | lolcat
gg = commit -am "various perfomance improvments + bugfixes"
fe = fetch
mb = merge-base
[core]
editor = vim