From: Junio C Hamano Date: Tue, 24 Apr 2012 22:15:48 GMT Subject: Re: Is there a way to fetch commits that are detached Message-ID: In-Reply-To: Allan Caffee writes: > Is there a way to explicitly fetch whatever objects are necessary to checkout > the commit? One security principle built into git is that any object that is unreachable from refs/* is not to be exposed to outside world. If the commit is not on any ref, you shouldn't be able to obtain it remotely. So you need to know which branch (or it could be a tag) the commit you want is on, fetch that branch or tag and then check the commit out.