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

Re: git refuses to switch to older branches

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Aug 20, 2006, 19:11 UTC
Message-ID
<200608202111.33470.Josef.Weidendorfer@gmx.de>
In-Reply-To
<Pine.LNX.4.63.0608201447470.28360@wbgn013.biozentrum.uni-wuerzburg.de>
On Sunday 20 August 2006 14:48, you wrote:
> Not necessarily. Sometimes you have files in your working directory, which 
> are not in your repository, you know?

Yet, I think it is quite inconvenient the way it is now. The same happens if you track a generated file by accident, and remove it later from tracking.

The real problem is that there are two reasons to put a file into .gitignore: You do not want to have it tracked and polluting git-status because (1) it is temporary and generated (2) it is private and not supposed to be in the repository

To distinguish these cases, we could introduce a per-repository configuration file .git/nevertouch . Comments?

Josef
Previous: Johannes SchindelinNext: Alex Riesen
Message 12 of 15 in “git refuses to switch to older branches”
  1. Martin WaitzAug 19, 2006
  2. Jakub NarebskiAug 19, 2006
  3. Junio C HamanoAug 19, 2006
  4. Jakub NarebskiAug 19, 2006
  5. Junio C HamanoAug 20, 2006
  6. Junio C HamanoAug 19, 2006
  7. Petr BaudisAug 19, 2006
  8. Martin WaitzAug 20, 2006
  9. Johannes SchindelinAug 20, 2006
  10. Martin WaitzAug 20, 2006
  11. Johannes SchindelinAug 20, 2006
  12. Josef WeidendorferAug 20, 2006
  13. Alex RiesenAug 20, 2006
  14. Martin WaitzAug 20, 2006
  15. Alex RiesenSep 8, 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.