Git config changes
Makes nvim editor, adds delta as pages and tweaks lol and lola aliases
This commit is contained in:
parent
0d357e8f9e
commit
5197f64a20
1 changed files with 11 additions and 5 deletions
|
@ -2,17 +2,17 @@
|
||||||
email = git@jonathanh.co.uk
|
email = git@jonathanh.co.uk
|
||||||
name = Jonathan Hodgson
|
name = Jonathan Hodgson
|
||||||
[core]
|
[core]
|
||||||
editor = vim -c 'startinsert'
|
editor = nvim
|
||||||
excludesfile = ~/.dotfiles/git/global_gitignore
|
excludesfile = ~/.dotfiles/git/global_gitignore
|
||||||
pager = delta --theme='gruvbox' --plus-color="#98971a" --minus-color="#9d0006"
|
pager = delta
|
||||||
[status]
|
[status]
|
||||||
submoduleSummary = true
|
submoduleSummary = true
|
||||||
[alias]
|
[alias]
|
||||||
#lol = log --graph --decorate --pretty=oneline --abbrev-commit
|
#lol = log --graph --decorate --pretty=oneline --abbrev-commit
|
||||||
lol = log --graph --pretty=format:\"%C(yellow)%h %C(blue)%cd %C(green)%cn %C(white) - %s\" --date=format:\"%d/%m/%Y %H:%M:%S\"
|
lol = log --graph --pretty=format:\"%C(yellow)%h %C(red)%d %C(blue)%cd %C(green)%cn %C(white) - %s\" --date=format:\"%d/%m/%Y %H:%M:%S\"
|
||||||
#lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
|
#lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
|
||||||
lola = log --graph --pretty=format:\"%C(yellow)%h %C(blue)%cd %C(green)%cn %C(white) - %s\" --date=format:\"%d/%m/%Y %H:%M:%S\" --all
|
lola = log --graph --pretty=format:\"%C(yellow)%h %C(red)%d %C(blue)%cd %C(green)%cn %C(white) - %s\" --date=format:\"%d/%m/%Y %H:%M:%S\" --all
|
||||||
lolame = log --graph --pretty=format:\"%C(yellow)%h %C(blue)%cd %C(green)%cn %C(white) - %s\" --date=format:\"%d/%m/%Y %H:%M:%S\" --all --author=Jonathan
|
lolame = log --graph --pretty=format:\"%C(yellow)%h %C(red)%d %C(blue)%cd %C(green)%cn %C(white) - %s\" --date=format:\"%d/%m/%Y %H:%M:%S\" --all --author=Jonathan
|
||||||
ilog = recall
|
ilog = recall
|
||||||
detach = "!git checkout $(git rev-parse HEAD)"
|
detach = "!git checkout $(git rev-parse HEAD)"
|
||||||
undo = reset --soft HEAD^
|
undo = reset --soft HEAD^
|
||||||
|
@ -24,3 +24,9 @@
|
||||||
required = true
|
required = true
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
||||||
|
[delta]
|
||||||
|
plus-color = "#9d0006"
|
||||||
|
minus-color = "#9d0006"
|
||||||
|
theme = gruvbox
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue