-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
46 lines (46 loc) · 1.29 KB
/
.gitconfig
File metadata and controls
46 lines (46 loc) · 1.29 KB
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
36
37
38
39
40
41
42
43
44
45
46
[user]
name = Gez
email = gezpage@gmail.com
[web]
browser = google-chrome
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
[alias]
ci = commit
co = checkout
st = status -sb
# add --update stages modifications of tracked files,
# as well as removes files from the index if their
# corresponding files from the working tree have been
# erased.
au = add --update
# add --all does the same as add --update, but also
# with files on the working tree. If a file is added/
# modified/removed in the working tree and wasn't in
# the index, it will be added/modified/removed after
# running this command.
aa = add --all
# add --all --patch does the prior command, but
# letting you interactively choose hunks of patches
# between the index and the working tree. It's great
# for splitting your current work into multiple commits.
hunk = add --all --patch
# To checkout a feature branch
feature = !sh -c 'git checkout -b feature/$1' -