Dotfiles/git/gitconfig
2018-04-16 23:03:29 +01:00

24 lines
868 B
Text

[user]
email = jonathan@lunarweb.co.uk
name = Jonathan Hodgson
[core]
editor = vim
excludesfile = ~/.dotfiles/git/global_gitignore
[status]
submoduleSummary = true
[alias]
#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\"
#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
ilog = recall
detach = "!git checkout $(git rev-parse HEAD)"
undo = reset --soft HEAD^
random-commit = "!git commit -m \"$(w3m whatthecommit.com | head -n 1)\""
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f