Re: How to force git to use authentication as author
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jul 14, 2011, 10:38 UTC
- Message-ID
- <CACBZZX4X8qRBXqwi70kZ0eZ+mb7rdD6p36xD=GoX6soha0TZcg@mail.gmail.com>
- In-Reply-To
- <20110714160638.065b6542@shiva.selfip.org>
On Thu, Jul 14, 2011 at 12:36, J. Bakshi <joydeep@infoservices.in> wrote:
> How can I force git to use the username as define at /home/git/PASSWD as the author name for git commit ?
Edit the global bashrc to have:
export GIT_AUTHOR_NAME=$(cat ~/PASSWD)
?