-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
42 lines (34 loc) · 1.03 KB
/
.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
38
39
40
41
42
[alias]
# View abbreviated SHA, desc, and history graph of latest 100 commits
l = log --pretty='format:%C(yellow)%h %Cblue%>(16,trunc)%ad %Creset %Cgreen%<(20,trunc)%aN%C(auto)%d %Creset%s' --date=relative --graph
# View current working tree status in short format
s = status -s
# What have I done since yesterday
standup = log --pretty='format:%C(yellow)%h %Cblue%>(14)%ad%C(auto)%d %Creset%s' --date=relative --graph --author=robert.barbey --since 'yesterday'
[core]
# make `git rebase` safe on macOS (e.g. if )
trustctime = false
excludesfile = ~/.gitignore.global
[diff]
# Detect copied as well as renames
renames = copies
[merge]
# include summaries of merged commits in newly created merge commit messages
log = true
[include]
path = ~/.git/signingkey.conf
[user]
name = Robert Barbey
email = [email protected]
[gpg]
program = gpg
[commit]
gpgsign = true
[color]
ui = auto
[pull]
rebase = true
[init]
defaultBranch = main
[rebase]
autoStash = true