{"thread":{"id":"18792","subject":"git checkout and pwd?","startedAt":"2009-04-08T18:12:37Z","lastAt":"2009-04-08T18:38:15Z","messageCount":2,"participants":["John Dlugosz","Markus Heidelberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"110853","messageId":"450196A1AAAE4B42A00A8B27A59278E70A99A3D6@EXCHANGE.trad.tradestation.com","threadId":"18792","inReplyTo":null,"subject":"git checkout and pwd?","fromName":"John Dlugosz","fromEmail":"jdlugosz@tradestation.com","sentAt":"2009-04-08T18:12:37Z","receivedAt":"2009-04-08T18:12:37Z","isPatch":false,"sender":{"key":"jdlugosz@tradestation.com","avatar":null},"body":"On a Windows system running msysgit, I entered the command:\n\n\tgit checkout -b -l jmd/mt_queue\n\nand got a reply of: \nfatal: git checkout: updating paths is incompatible with switching\nbranches.\nDid you intend to checkout 'compile.vc8/Win32/release/jmd/mt_queue'\nwhich can not be resolved as commit?\n\nIs there something about this form of checkout that requires that it be\nissued while in the \"top level\" directory of the project (i.e. the one\ncontaining the .git subdirectory)?\n\n--John\n(sorry about the footer; it's not my idea)\n\nTradeStation 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.\n  If you received this in error, please contact the sender and delete the material from any computer.\n"},{"id":"110856","messageId":"200904082038.16133.markus.heidelberg@web.de","threadId":"18792","inReplyTo":"450196A1AAAE4B42A00A8B27A59278E70A99A3D6@EXCHANGE.trad.tradestation.com","subject":"Re: git checkout and pwd?","fromName":"Markus Heidelberg","fromEmail":"markus.heidelberg@web.de","sentAt":"2009-04-08T18:38:15Z","receivedAt":"2009-04-08T18:38:15Z","isPatch":false,"sender":{"key":"markus.heidelberg@web.de","avatar":"https://avatars.githubusercontent.com/u/6334512?v=4"},"body":"John Dlugosz, 08.04.2009:\n> On a Windows system running msysgit, I entered the command:\n> \n> \tgit checkout -b -l jmd/mt_queue\n> \n> and got a reply of: \n> fatal: git checkout: updating paths is incompatible with switching\n> branches.\n> Did you intend to checkout 'compile.vc8/Win32/release/jmd/mt_queue'\n> which can not be resolved as commit?\n\n>From the documentation: [-b <new_branch> [-l]]\nThe new branch has to follow the -b option immediately.\n\n> Is there something about this form of checkout that requires that it be\n> issued while in the \"top level\" directory of the project (i.e. the one\n> containing the .git subdirectory)?\n\nNo, that doesn't matter.\n\nMarkus\n"}]}