Re: git-PS1 bash prompt setting
From: Nicolas Vilz <hidden>
Date: 2016-08-11 19:54:13
On Mon, Nov 27, 2006 at 12:48:24AM -0800, Junio C Hamano wrote:
Nicolas Vilz [off-list ref] writes:quoted
I glued that in my system bashrc with the extension, that it shows to me user.email out of repo-config, which is also very handy. So I am always reminded to set my user.credentials in .git/config and i always know which role i play in the repository i am working at.I think there is something wrong if the user needs to be _constantly_ reminded who he is. Care to explain?
Yes, you are right. It sounds a bit strange. I try to setup a pool of configuration data for several linux-boxes which are kind of equal in a git repository. Normally I just pull the config-branch from the repository to the particular box, but sometimes i have to test the config and alter it... and other people do as well. And therefore i like to be reminded constantly who I am. I glued that in the system bashrc, so I have it for services which run as users and which configuration data has to be edited by the services user... also here, several people are working on that machine and make changes. Sincerly