-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitconfig
45 lines (43 loc) · 1.32 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
43
44
45
[user]
name = Josh Mize
email = jgmize@imuto.ai
[alias]
st = status -sb
ci = commit
br = branch
ab = rev-parse --abbrev-ref HEAD
co = checkout
df = diff
lg = log -p
lsd = log --graph --decorate --pretty=oneline --abbrev-commit --all
pullify = config --add remote.$1.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'
pr = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f"
rb = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
subup = !git submodule sync && git submodule update --init --recursive
sha = rev-parse HEAD
to = push
mr = push -o merge_request.create
automerge = push -o merge_request.create -o merge_request.merge_when_pipeline_succeeds
[core]
excludesfile = /home/jgmize/.gitignore_global
[push]
default = current
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
ff = only
[include]
path = .gitconfig-private
[github]
user = jgmize
[magithub]
online = false
[magithub "status"]
includeStatusHeader = false
includePullRequestsSection = false
includeIssuesSection = false
[init]
defaultBranch = main