diff options
author | A Farzat <a@farzat.xyz> | 2024-10-06 17:29:11 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-10-17 02:29:14 +0900 |
commit | 44868ebfffb3ce20a20bf393c7d880cc4c729960 (patch) | |
tree | 42a2c5cbaab82c3ec5d926c4e05c7d9364cb2ee0 /.config | |
parent | e64e94b031913fe5c8cbbf740e2fcd894a41e1be (diff) | |
download | dotfiles-44868ebfffb3ce20a20bf393c7d880cc4c729960.tar.gz dotfiles-44868ebfffb3ce20a20bf393c7d880cc4c729960.zip |
Add git config
Diffstat (limited to '.config')
-rw-r--r-- | .config/git/config | 22 | ||||
-rw-r--r-- | .config/git/ignore | 24 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config new file mode 100644 index 0000000..fe7f4ea --- /dev/null +++ b/.config/git/config @@ -0,0 +1,22 @@ +[alias] + graph = log --oneline --decorate --graph --all +[merge] + tool = vimdiff +[user] + email = a@farzat.xyz + name = A Farzat +[core] + bare = false +[mergetool "vimdiff"] + path = nvim +[init] + defaultBranch = master +[fetch] + prune = true +[sendemail] + smtpserver = mail.farzat.xyz + smtpuser = a@farzat.xyz + smtpencryption = tls + smtpserverport = 587 +[credential] + helper = /usr/lib/git-core/git-credential-libsecret diff --git a/.config/git/ignore b/.config/git/ignore new file mode 100644 index 0000000..e5c1053 --- /dev/null +++ b/.config/git/ignore @@ -0,0 +1,24 @@ +################################################################################ +# Vim gitignore +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +# Local configuration files +.vim/ |