diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-09-02 22:14:36 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-09-02 22:14:36 +0530 |
commit | bb3720986d96e7d380c76404fab64ef216b99b0e (patch) | |
tree | f9e1303bb29aa08a69dd69b2d536a8d5403e03f2 | |
parent | 673011386bd7c66a8a9104af42e95fdbab6cae3a (diff) |
.config: Adding gitconfig
-rw-r--r-- | .config/git/config | 36 |
1 files changed, 36 insertions, 0 deletions
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 |