-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig.erb
More file actions
33 lines (32 loc) · 853 Bytes
/
gitconfig.erb
File metadata and controls
33 lines (32 loc) · 853 Bytes
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
[core]
excludesfile = /Users/dq/.gitrc/gitignore
[user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color] # Ensure we get color
diff = auto
branch = auto
status = auto
[alias] # shortcuts
tg = tag -a
lg = log
a = add
b = branch
co = checkout
c = commit -v
cm = commit -v -m
d = diff -b
plog = log --pretty=oneline
st = stash
sub = submodule
ms = mergedstatus
unstage = reset HEAD
unstage-all = reset --hard HEAD
# summary of what you're going to push
pushlog = log --pretty=oneline origin..master
# like "git log", but include the diffs
w = whatchanged -p
# changes since we last did a push
wo = whatchanged -p origin..
[log]
decorate = short