File tree 3 files changed +53
-49
lines changed
3 files changed +53
-49
lines changed Original file line number Diff line number Diff line change 1
- [user ]
2
- name = YOUR NAME
3
- email = YOUR EMAIL
4
-
5
- [color ]
6
- diff = auto
7
- grep = auto
8
- interactive = auto
9
- status = auto
10
- branch = auto
11
- status = auto
12
-
13
- [core ]
14
- editor = mate -w
15
-
16
- [help ]
17
- autocorrect = 1
18
-
19
1
[alias ]
20
2
br = branch
21
3
ci = commit
22
4
cm = ! git add -A && git commit -m
23
5
co = checkout
24
6
cob = checkout -b
25
- ec = config --global -e
26
7
df = diff
8
+ ec = config --global -e
27
9
i = init
28
10
lg = log -pgit ps
29
11
lg1 = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
30
12
lg2 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
31
13
lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
14
+ pl = pull
15
+ plb = pull origin
32
16
pom = pull origin master
33
17
ps = push
34
- pl = pull
35
- rao = remote add origin
36
- plm = pull origin master
37
- psm = push origin master
38
18
psb = push origin
39
- plb = pull origin
40
19
st = status
20
+ plm = pull origin master
21
+ psm = push origin master
22
+ rao = remote add origin
23
+
24
+ [color ]
25
+ branch = auto
26
+ diff = auto
27
+ grep = auto
28
+ interactive = auto
29
+ status = auto
30
+ status = auto
31
+
32
+ [core ]
33
+ editor = mate -w
34
+
35
+ [help ]
36
+ autocorrect = 1
37
+
38
+ [user ]
39
+ name = YOUR NAME
40
+ email = YOUR EMAIL
41
+
Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2017 Rodrigo Oler
3
+ Copyright (c) 2017-2018 Rodrigo Oler
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1
1
# git-alias
2
2
3
- ```` text
4
- [user]
5
- name = YOUR NAME
6
- email = YOUR EMAIL
7
-
8
- [color]
9
- diff = auto
10
- grep = auto
11
- interactive = auto
12
- status = auto
13
- branch = auto
14
- status = auto
15
-
16
- [core]
17
- editor = mate -w
18
-
19
- [help]
20
- autocorrect = 1
3
+ Personal git configuration used in day-to-day projects to make the developer's life more productive and effective
21
4
5
+ ```` text
22
6
[alias]
23
7
br = branch
24
8
ci = commit
25
9
cm = !git add -A && git commit -m
26
10
co = checkout
27
11
cob = checkout -b
28
- ec = config --global -e
29
12
df = diff
13
+ ec = config --global -e
30
14
i = init
31
15
lg = log -pgit ps
32
16
lg1 = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
33
17
lg2 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
34
18
lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
19
+ pl = pull
20
+ plb = pull origin
35
21
pom = pull origin master
36
22
ps = push
37
- pl = pull
38
- rao = remote add origin
39
- plm = pull origin master
40
- psm = push origin master
41
23
psb = push origin
42
- plb = pull origin
43
24
st = status
25
+ plm = pull origin master
26
+ psm = push origin master
27
+ rao = remote add origin
28
+
29
+ [color]
30
+ branch = auto
31
+ diff = auto
32
+ grep = auto
33
+ interactive = auto
34
+ status = auto
35
+ status = auto
36
+
37
+ [core]
38
+ editor = mate -w
39
+
40
+ [help]
41
+ autocorrect = 1
42
+
43
+ [user]
44
+ name = YOUR NAME
45
+ email = YOUR EMAIL
46
+
44
47
````
You can’t perform that action at this time.
0 commit comments