From: Sitaram Chamarty Date: Wed, 04 Nov 2009 16:46:04 GMT Subject: Re: [PATCH] gitk: disable checkout of remote branch Message-ID: <2e24e5b90911040846y35098a62m2ecd20c54263c494@mail.gmail.com> In-Reply-To: <1257325697830-3943894.post@n2.nabble.com> On Wed, Nov 4, 2009 at 2:38 PM, Tim Mazid wrote: > Hm. I actually meant inside gitk, not git itself. As in, when you click > inside gitk and try to checkout a remote, it automatically creates a > tracking branch and checks THAT out instead, whereas command-line git works > the same way. > Does that even make sense? :P It certainly does. And if gitk is internally running the same "checkout" command that may happen automatically (in 1.7 or whatever). I will "watch this space" as they say :) I stated only my minimum needs (prevent detached HEAD with even less warning [i.e., zero warning] than in CLI) and managed minimum code for it. But any other solution that achives the same effect is also fine!