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

Per-file force update

From
Troy Telford <ttelford.groups@gmail.com>
Date
Jan 25, 2007, 17:17 UTC
Message-ID
<op.tmpzmzvtzidtg1@rygel.lnxi.com>

I've got a file that (due to some inner workings) changes whenever it's built.

This causes a problem with git, causing merge conflicts.

Is there a way I can configure git to /always/ do the equivalent of 'git pull -f', but only for that one file?

Thanks,
-- 
Troy Telford
Next: Shawn O. Pearce
Message 1 of 3 in “Per-file force update”
  1. Troy TelfordJan 25, 2007
  2. Shawn O. PearceJan 25, 2007
  3. Jakub NarebskiJan 26, 2007

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.