From 8e05233efa175edd23ea9450418c2056fdebd44f Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Thu, 5 May 2022 19:43:01 -0500 Subject: Add git/ (.config directory) Contains global "gitignore" and "gitconfig" --- git/config | 15 +++++++++++++++ git/ignore | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 git/config create mode 100644 git/ignore (limited to 'git') diff --git a/git/config b/git/config new file mode 100644 index 0000000..e84323e --- /dev/null +++ b/git/config @@ -0,0 +1,15 @@ +# Set up with authentication with gh(1) (GitHub CLI) +[credential "https://github.com"] + helper = + helper = !/usr/bin/gh auth git-credential +[credential "https://gist.github.com"] + helper = + helper = !/usr/bin/gh auth git-credential +[user] + email = rtokumori@pucp.edu.pe + name = Mitsuo Tokumori +[diff] + # used with $ git difftool + tool = vimdiff +[merge] + tool = vimdiff diff --git a/git/ignore b/git/ignore new file mode 100644 index 0000000..d71d05b --- /dev/null +++ b/git/ignore @@ -0,0 +1,7 @@ +# gitconfig file in ~/.config/git/config (if not in ~/.gitconfig) + +# Vim +*.swp + +# KDE +.directory -- cgit v1.2.3