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

git checkout and pwd?

From
JDJohn Dlugosz <jdlugosz@tradestation.com>
Date
Apr 8, 2009, 18:12 UTC
Message-ID
<450196A1AAAE4B42A00A8B27A59278E70A99A3D6@EXCHANGE.trad.tradestation.com>
On a Windows system running msysgit, I entered the command:
	git checkout -b -l jmd/mt_queue

and got a reply of: fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'compile.vc8/Win32/release/jmd/mt_queue' which can not be resolved as commit?

Is there something about this form of checkout that requires that it be issued while in the "top level" directory of the project (i.e. the one containing the .git subdirectory)?

--John (sorry about the footer; it's not my idea)

TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.
  If you received this in error, please contact the sender and delete the material from any computer.
Next: Markus Heidelberg
Message 1 of 2 in “git checkout and pwd?”
  1. John DlugoszApr 8, 2009
  2. Markus HeidelbergApr 8, 2009

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.