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 15:42:42 +0300

> From: Steinar Bang <address@hidden>
> Date: Sat, 18 Apr 2015 14:18:59 +0200
> 
> >>>>> Alan Mackenzie <address@hidden>:
> 
> > Hello, Emacs.
> > A simple question (I hope):  How do I get a specific SW revision into my
> > working directory.  I want to do something like this:
> 
> >    git <command> 7e09ef09a479731d01b1ca46e94ddadd73ac98e3
> 
> > git checkout doesn't seem to be the thing.
> 
> "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).



reply via email to

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