From 6750deac0a1236e6b6e43c4cef2ced32ff14720a Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Tue, 3 Nov 2020 11:34:24 +0100 Subject: [PATCH] Add git helper for repositories --- dotfiles/config.org | 11 ----------- dotfiles/git.org | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/dotfiles/config.org b/dotfiles/config.org index 8b0da48..9f556a4 100644 --- a/dotfiles/config.org +++ b/dotfiles/config.org @@ -176,14 +176,3 @@ LC_ALL= #+END_SRC -* Pass Git Helper -:PROPERTIES: -:header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini -:header-args+: :comments both :mkdirp yes -:END: - -#+BEGIN_SRC conf - [github.com*] - target=github.com/tdehaeze -#+END_SRC - diff --git a/dotfiles/git.org b/dotfiles/git.org index 5a13562..788f332 100644 --- a/dotfiles/git.org +++ b/dotfiles/git.org @@ -188,6 +188,9 @@ [credential "https://github.com"] username = tdehaeze + +[credential "https://git.tdehaeze.xyz"] + username = tdehaeze #+END_SRC ** Diff-so-fancy @@ -214,3 +217,20 @@ .DS_Store Session.vim #+END_SRC + +* Pass Git Helper +:PROPERTIES: +:header-args: :tangle ~/.config/pass-git-helper/git-pass-mapping.ini +:header-args+: :comments both :mkdirp yes +:END: + +#+BEGIN_SRC conf + [github.com*] + target=github.com/tdehaeze + + [git.tdehaeze.xyz*] + target=git.tdehaeze.xyz/tdehaeze + + [gitlab.esrf.fr*] + target=gitlab.esrf.fr/dehaeze +#+END_SRC