-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
61 lines (51 loc) · 1.31 KB
/
Copy path.gitconfig
File metadata and controls
61 lines (51 loc) · 1.31 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[user]
email = git@spsjvc.com
name = spsjvc
[core]
editor = vim
pager = delta
[color]
ui = true
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = zdiff3
[delta]
navigate = true
hyperlinks = true
line-numbers = true
[color "diff"]
meta = yellow bold ul
frag = cyan bold ul
old = red bold
new = green bold
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
[alias]
a = add
b = checkout -b
c = commit --allow-empty --gpg-sign -m
commit-generate = !source ~/.dotfiles/utils/git-commit-generate.sh && git_commit_generate
cg = commit-generate
co = checkout
d = diff
ds = diff --staged
f = fetch
fpush = push --force
# Example output:
#
# * 5101376 Update tmux config to use vim keybindings in copy mode (HEAD -> main) 27 hours ago by spsjvc
# * 683dd2f Remove resize mode from i3 keybindings config 2 days ago by spsjvc
# * 576233a Update tmux config with status bar adjustments 3 days ago by spsjvc
l = log --abbrev-commit --graph --pretty=format:'%C(auto)%h %s%d %C(dim white)%ar %C(cyan)%an'
p = add --patch
r = reset HEAD
s = status
u = reset --soft HEAD^
wt = worktree
[commit]
gpgsign = true
[init]
defaultBranch = main