Start re-organising my dotfiles

This commit is contained in:
Jonathan Hodgson 2018-04-16 23:03:29 +01:00
parent 4141702986
commit 8954b21d7f
101 changed files with 40 additions and 3228 deletions

24
git/gitconfig Normal file
View file

@ -0,0 +1,24 @@
[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

8
git/global_gitignore Normal file
View file

@ -0,0 +1,8 @@
*~
# This is for vim swap files
*.sw*
#Web stuff
/wp-config.php
/.htaccess
/wp-content/uploads/