-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
38 lines (34 loc) · 929 Bytes
/
.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
36
37
# Please adapt and uncomment the following lines:
[user]
name = Toto
email = toto@gmail.com
username = Toto
[color]
ui = true
[alias]
# Commons.
co = checkout
cob = checkout -b
st = status
c = commit
cm = commit -m
cam = commit -am
br = branch
brd = branch -d
del = branch -D
aa = add .
master = !git checkout master && git pull origin
develop = !git checkout develop && git pull origin
main = !git checkout main && git pull origin
poh = push origin HEAD
newb = checkout -b
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 -r git branch -d"
rename = branch -m
[core]
excludesfile = /Users/toto./.gitignore
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true