git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-PS1 bash prompt setting

From
Nicolas Vilz <niv@iaglans.de>
Date
Nov 27, 2006, 10:50 UTC
Message-ID
<20061127105047.GB5428@fry.bender.fht>
In-Reply-To
<7vy7pxjmw7.fsf@assigned-by-dhcp.cox.net>
On Mon, Nov 27, 2006 at 12:48:24AM -0800, Junio C Hamano wrote:
Show 9 quoted lines
> Nicolas Vilz <niv@iaglans.de> writes:
> 
> > 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
Previous: Junio C HamanoNext: Shawn Pearce
Message 8 of 13 in “git-PS1 bash prompt setting”
  1. SeanNov 16, 2006
  2. Junio C HamanoNov 16, 2006
  3. Johannes SchindelinNov 26, 2006
  4. SeanNov 26, 2006
  5. Johannes SchindelinNov 26, 2006
  6. Nicolas VilzNov 26, 2006
  7. Junio C HamanoNov 27, 2006
  8. Nicolas VilzNov 27, 2006
  9. Shawn PearceNov 27, 2006
  10. Jakub NarebskiNov 27, 2006
  11. SeanNov 27, 2006
  12. Shawn PearceNov 27, 2006
  13. SeanNov 27, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.