[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: |
Alan Mackenzie |
Subject: |
Re: git question: how do I get a specific git version into my working directory? |
Date: |
Sat, 18 Apr 2015 13:16:07 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello, Eli.
On Sat, Apr 18, 2015 at 03:42:42PM +0300, Eli Zaretskii wrote:
> > 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).
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.
--
Alan Mackenzie (Nuremberg, Germany).
- git question: how do I get a specific git version into my working directory?, Alan Mackenzie, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Andreas Schwab, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Steinar Bang, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Eli Zaretskii, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?,
Alan Mackenzie <=
- Re: git question: how do I get a specific git version into my working directory?, Dmitry Gutov, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Eli Zaretskii, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Harald Hanche-Olsen, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Eli Zaretskii, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Stefan Monnier, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Eli Zaretskii, 2015/04/18
- Re: git question: how do I get a specific git version into my working directory?, Harald Hanche-Olsen, 2015/04/18
Re: git question: how do I get a specific git version into my working directory?, Eric Abrahamsen, 2015/04/18
Re: git question: how do I get a specific git version into my working directory?, Alan Mackenzie, 2015/04/18