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

Re: Question on GIT usage.

From
Linus Torvalds <torvalds@osdl.org>
Date
Oct 31, 2005, 23:21 UTC
Message-ID
<Pine.LNX.4.64.0510311520190.27915@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0510311749080.25300@iabervon.org>
On Mon, 31 Oct 2005, Daniel Barkalow wrote:
Show 5 quoted lines
> 
> The system will be unhappy if you commit to a branch that is checked out 
> elsewhere (because the head of that branch will change out from under the 
> checked out version), like having someone push to a repository with the 
> branch checked out.

Well, the good news is that a "git checkout -f" in the other trees will do the right thing (and only check out the files that have changed).

The bad news is that you need to remember to do that ;)
		Linus
Previous: Daniel BarkalowNext: Daniel Barkalow
Message 5 of 9 in “Question on GIT usage.”
  1. Ben GreearOct 29, 2005
  2. Ryan AndersonOct 29, 2005
  3. Linus TorvaldsOct 29, 2005
  4. Daniel BarkalowOct 31, 2005
  5. Linus TorvaldsOct 31, 2005
  6. Daniel BarkalowOct 31, 2005
  7. Linus TorvaldsOct 31, 2005
  8. Daniel BarkalowOct 31, 2005
  9. Junio C HamanoNov 1, 2005

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.