From bb3720986d96e7d380c76404fab64ef216b99b0e Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 2 Sep 2023 22:14:36 +0530 Subject: .config: Adding gitconfig --- .config/git/config | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .config/git/config diff --git a/.config/git/config b/.config/git/config new file mode 100644 index 0000000..2f39d29 --- /dev/null +++ b/.config/git/config @@ -0,0 +1,36 @@ +[user] + email = justsaumit@protonmail.com + name = Saumit Dinesan + signingkey = 6558C915A20CDD93 +[commit] + gpgsign = true +[tag] + gpgSign = true +[init] + defaultBranch = main +[alias] + co = checkout + ci = commit + st = status + br = branch + lg = log --graph --oneline --all + hist = log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n''%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all + amend = commit --amend +[core] + #editor = nano + #autocrlf = input + #whitespace = trailing-space,space-before-tab +[color] + # Custom color settings for Git output + ui = auto +[diff] + # Configure Git's diff tool + #tool = vscode +[merge] + # Configure Git's merge tool + #tool = vscode`` +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true -- cgit v1.2.3