-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgitconfig
More file actions
68 lines (68 loc) · 2.09 KB
/
Copy pathgitconfig
File metadata and controls
68 lines (68 loc) · 2.09 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
62
63
64
65
66
67
68
[core]
editor = vim
excludesfile = ~/.gitignore
fsmonitor = true
[column]
ui = auto
[commit]
verbose = true
[diff]
algorithm = histogram
colorMoved = plain
renamelimit = 2000
renames = true
tool = meld
# noprefix = true
[push]
default = simple
autoSetupRemote = true
[pull]
rebase = true
[credential]
helper = gnome-keyring
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort
lastedited = log --pretty=format: --name-only -n 1
start-redhat = !git config user.name 'Stephen Finucane' && git config user.email stephenfin@redhat.com
start-personal = !git config user.name 'Stephen Finucane' && git config user.email stephen@that.guru
refresh = !git checkout $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@') && git fetch --all --prune && git merge --ff-only
scratch = !git init && git start-personal && git commit --allow-empty -m 'Initial commit'
edit-modified = "!f() { git status --porcelain | awk '{print $2}' ; }; vim `f`"
edit-unmerged = "!f() { git diff --name-status --diff-filter=U | cut -f2 ; }; vim `f`"
add-unmerged = "!f() { git diff --name-status --diff-filter=U | cut -f2 ; }; git add `f`"
master-to-main = !git branch -m master main && git fetch origin && git branch -u origin/main main && git remote set-head origin -a
publish = !/usr/bin/git-publish
[rerere]
enabled = true
autoupdate = true
[remote "origin"]
prune = true
[fetch]
prune = true
all = true
[help]
autocorrect = immediate
[color]
ui = auto
[format]
pretty = fuller
[checkout]
defaultRemote = origin
[url "https://git.openstack.org/"]
insteadof = git://git.openstack.org/
[rebase]
rescheduleFailedExec = true
autoSquash = true
autoStash = true
[merge]
conflictstyle = zdiff3
[tag]
sort = version:refname
[init]
defaultBranch = main
[http]
cookiefile = abc
[gitreview]
username = sfinucan