-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig##class.Personal
26 lines (26 loc) · 1 KB
/
.gitconfig##class.Personal
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
# This is Git's per-user configuration file.
[user]
name = Peter Lukacs
email = [email protected]
[alias]
co = checkout
st = status
# commit added files with message
cm = !git commit -m
# add tracked files and commit them with message
cmu = !git add -u && git commit -m
# add all (tracked/untracked) files and commit them with message
cma = !git add -A && git commit -m
# amend added files into the last commit with the same message
ca = !git commit --amend --no-edit
# add tracked files and amend it into the last commit with the same message
cau = !git add -u && git commit --amend --no-edit
# add all (tracked/untracked) files and amend it into the last commit with the same message
caa = !git add -A && git commit --amend --no-edit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[commit]
gpgsign = false
[core]
editor = code -n
[pull]
rebase = false