On Mon, Jun 11, 2018 at 10:35:40AM -0700, Junio C Hamano wrote:
> Jeff King writes:
>
> > If you don't even have symbolic-ref handy, you can do:
> >
> > echo "ref: refs/heads/new-branch" >.git/HEAD
> >
> > That's not generally recommended, since future versions of Git may
> > change the ref st
Jeff King writes:
> If you don't even have symbolic-ref handy, you can do:
>
> echo "ref: refs/heads/new-branch" >.git/HEAD
>
> That's not generally recommended, since future versions of Git may
> change the ref storage format, but it would work with any current
> version of Git.
Makes one won
On Tue, Jun 05, 2018 at 12:02:12PM -0400, Sean Hunt wrote:
> I would like to see the source code to git checkout --orphan so I can
> learn how it works and so I can manually do what it does by hand on
> making a new branch with no history in the refs folder. I can only do
> it on my iPhone as my l
I would like to see the source code to git checkout --orphan so I can learn how
it works and so I can manually do what it does by hand on making a new branch
with no history in the refs folder. I can only do it on my iPhone as my laptop
has no internet or way to do it there, and the program on m
4 matches
Mail list logo