From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: git question: how do I get a specific git version into my working directory? Date: Sat, 18 Apr 2015 12:42:05 +0200 Message-ID: <87383x90qq.fsf@igel.home> References: <20150418103301.GB4182@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429353758 4872 80.91.229.3 (18 Apr 2015 10:42:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 10:42:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 18 12:42:29 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YjQCh-00043n-Ci for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 12:42:27 +0200 Original-Received: from localhost ([::1]:45187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjQCg-00055Q-NC for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 06:42:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjQCV-00055I-Gx for emacs-devel@gnu.org; Sat, 18 Apr 2015 06:42:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjQCQ-0007wl-HT for emacs-devel@gnu.org; Sat, 18 Apr 2015 06:42:15 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:51644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjQCQ-0007wZ-B0 for emacs-devel@gnu.org; Sat, 18 Apr 2015 06:42:10 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3lTW7g2RBfz3hk16; Sat, 18 Apr 2015 12:42:07 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3lTW7g0Zz7zvh1k; Sat, 18 Apr 2015 12:42:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id NZUuzCaUJyuE; Sat, 18 Apr 2015 12:42:06 +0200 (CEST) X-Auth-Info: Fsj3cglTAWP/eWd1ONE0UqV/OEagLIT9tnYeX4nNEW92/6N0fkD/X7LzwYsrU9lk Original-Received: from igel.home (ppp-212-114-181-121.dynamic.mnet-online.de [212.114.181.121]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 18 Apr 2015 12:42:06 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id DE50E2C3ECE; Sat, 18 Apr 2015 12:42:05 +0200 (CEST) X-Yow: I always wanted a NOSE JOB!! In-Reply-To: <20150418103301.GB4182@acm.fritz.box> (Alan Mackenzie's message of "Sat, 18 Apr 2015 10:33:01 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185562 Archived-At: Alan Mackenzie writes: > 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 7e09ef09a479731d01b1ca46e94ddadd73ac98e3 > > . git checkout doesn't seem to be the thing. Why do you think so? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."