]> gitweb.pimeys.fr Git - config-20-100.git/commitdiff
[.bashrc] GIT_* : better use $(git config)
authorVincent Le Gallic <legallic@crans.org>
Sat, 5 Apr 2014 21:22:26 +0000 (23:22 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sat, 5 Apr 2014 21:22:26 +0000 (23:22 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index faa6b2d7b18b0affb2abaf97b9d997ffda90f8c8..1a60625f363e07a7258373082d34d6824846d2e6 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -342,8 +342,8 @@ PATH=~/bin:$PATH:/sbin:/usr/sbin
 #~# # vous avez besoin de commiter en tant que root *et* que votre
 #~# # /etc/sudoers contient bien la directive
 #~# # Defaults env_keep += "<les variables en question>"
-#~# GIT_AUTHOR_NAME="Prénom Nom"
-#~# GIT_AUTHOR_EMAIL="mail@domain.com"
+#~# GIT_AUTHOR_NAME=$(git config user.name)
+#~# GIT_AUTHOR_EMAIL=$(git config user.email)
 
 # +----------+
 # | Sourcing |