emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git question: how do I get a specific git version into my working di


From: Eli Zaretskii
Subject: Re: git question: how do I get a specific git version into my working directory?
Date: Sat, 18 Apr 2015 16:37:17 +0300

> Date: Sat, 18 Apr 2015 13:16:07 +0000
> From: Alan Mackenzie <address@hidden>
> Cc: address@hidden
> 
> > > "git checkout 7e09ef09a479731d01b1ca46e94ddadd73ac98e3" should work.
> 
> > It also creates a "detached HEAD", so Alan should IMO be aware of
> > that, and return to the upstream head ASAP (or, better, do all of this
> > in a separate branch to begin with).
> 
> I'm aware of it, now!  Given that I'm not intending to do any VCS
> operation on this, other than "git checkout <revision number>", I should
> be all right, surely?  I'm expecting (?hoping) that on switching back to
> the HEAD revision, the detached head (?all detached heads) will vanish.

If I were you, I'd do all this in a separate branch, just to be sure
my 'master' branch had no chance whatsoever to be affected.  Then you
could simply delete that branch when no longer needed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]