-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
37 lines (36 loc) · 918 Bytes
/
Copy pathgitconfig
File metadata and controls
37 lines (36 loc) · 918 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
34
35
36
37
[alias]
a = add
br = branch
c = commit
co = checkout
d = diff
p = push
s = status
l = log --graph --pretty="'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'" --abbrev-commit
graph = log --graph --pretty=oneline --abbrev-commit
last = log -1 HEAD
cm = commit -m
cane = commit --amend --no-edit
pr = push --rebase
pf = push --force-with-lease
[diff]
submodule = log
[pull]
rebase = merges
[merge]
tool = code
[init]
defaultBranch = main
[status]
submoduleSummary = true
[core]
editor = "/usr/bin/re.sonny.Commit"
[mergetool "code"]
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED
[IncludeIf "gitdir:~/Workspace/AWSi/"]
path = .gitconfig-awsi
[IncludeIf "gitdir:~/Workspace/Personal/"]
path = .gitconfig-personal
[IncludeIf "gitdir:~/Workspace/UdS/"]
path = .gitconfig-uds
# vim:filetype=gitconfig