From e4640e28c8449eea66392052bfab57ce0cdd27f9 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 6 Sep 2020 16:48:05 +0100 Subject: first commit --- gitconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gitconfig (limited to 'gitconfig') diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..be0b9e0 --- /dev/null +++ b/gitconfig @@ -0,0 +1,27 @@ +[user] + email = matt@matthewlemon.com + name = Matthew Lemon +[core] + excludesfile = /home/lemon/.gitignore_global + quotepath = false + editor = /usr/bin/nvim +[alias] + co = checkout + ci = commit + br = branch + # friendly statuses + st = status -sb --ignore-submodules=all + # Add all unstaged changes/removals and commit. All you gotta do here is pass the commit message. + # Example: git ac 'My commit message' + ac = !git add -A && git commit -m + # Pretty looking log + lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit + d = difftool +[push] + default = simple +[diff] + tool = vimdiff +[difftool] + prompt = false +[pull] + rebase = false -- cgit v1.2.3