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

Re: git-PS1 bash prompt setting

From
Junio C Hamano <junkio@cox.net>
Date
Nov 16, 2006, 18:35 UTC
Message-ID
<7vd57n9r3t.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<BAYC1-PASMTP037FDA6C6465F0541AC613AEE90@CEZ.ICE>
Sean <seanlkml@sympatico.ca> writes:
> Ted mentioned in the wart thread that having multiple branches per repo
> means that the standard bash prompt isn't as much help as it could be.

Yes, I think this is common issue for everybody not just people who worked with BK or mercurial. I find myself almost typing "pwd" to find out what branch I am on (I do not go as far as typing "git cd" to switch branches, though).

Previous: SeanNext: Johannes Schindelin
Message 2 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.