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

Re: Ignoring local changes

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 15, 2006, 00:15 UTC
Message-ID
<Pine.LNX.4.63.0612150114030.3635@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<9e7ab7380612141336p3b930047l3a4a76947239162f@mail.gmail.com>
Hi,
On Thu, 14 Dec 2006, Pazu wrote:
Show 13 quoted lines
> 2006/12/14, Rogan Dawes <discard@dawes.za.net>:
> 
> > Why not remove it from the repo, then set .gitignore?
> > 
> > If it is generated code, or compiled code, it probably shouldn't be in
> > the repo in the first place . . . Simply correct that mistake, and you
> > are good to go.
> 
> Basically, because I don't want to mess with the upstream. I know, I
> can remove them only from my local branch, and never push the commit
> that removed the files, and that's what I'll probably do if there's no
> other way -- but it would be best if I could just ignore the files. It
> doesn't sound unreasonable, does it?

It is not unreasonable. But I could not find an easy way to do it with git. It should be easy to hack it into it, though.

Ciao, Dscho

Previous: Pazu
Message 7 of 7 in “Ignoring local changes”
  1. PazuDec 14, 2006
  2. Andreas EricssonDec 14, 2006
  3. PazuDec 14, 2006
  4. Rogan DawesDec 14, 2006
  5. PazuDec 14, 2006
  6. PazuDec 14, 2006
  7. Johannes SchindelinDec 15, 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.