From 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 14 Apr 2024 06:38:49 +0200 Subject: squashed init --- home/.gitconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 home/.gitconfig (limited to 'home/.gitconfig') diff --git a/home/.gitconfig b/home/.gitconfig new file mode 100644 index 0000000..21b66c7 --- /dev/null +++ b/home/.gitconfig @@ -0,0 +1,20 @@ +[user] + email = nettingman@gmail.com + name = Botond Hende +[init] + defaultBranch = master +[core] + editor = nvim +[alias] + com = commit + a = add -Av + st = status + diffc = diff --cached + squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} -m \"${1:-A new start}\");};f" +[push] + autoSetupRemote = true +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true -- cgit v1.2.3-70-g09d2