From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: git is screwed Date: Thu, 26 Mar 2015 06:54:37 -0400 Message-ID: References: <20150322154147.GA6808@Tron.local> <20150323045209.GA71859@Tron.local> <550FE343.8010607@math.ntnu.no> <55119019.6030507@math.ntnu.no> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1427367349 32494 80.91.229.3 (26 Mar 2015 10:55:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 10:55:49 +0000 (UTC) Cc: schwab@linux-m68k.org, emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 26 11:55:42 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 1Yb5Rt-0005SW-CQ for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 11:55:41 +0100 Original-Received: from localhost ([::1]:43768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb5Rs-0008U5-Tr for ged-emacs-devel@m.gmane.org; Thu, 26 Mar 2015 06:55:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb5Qu-00072X-3K for emacs-devel@gnu.org; Thu, 26 Mar 2015 06:54:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb5Qs-0001qY-Qb for emacs-devel@gnu.org; Thu, 26 Mar 2015 06:54:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb5Qs-0001qN-O1 for emacs-devel@gnu.org; Thu, 26 Mar 2015 06:54:38 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yb5Qr-0006te-PF; Thu, 26 Mar 2015 06:54:37 -0400 In-reply-to: <55119019.6030507@math.ntnu.no> (message from Harald Hanche-Olsen on Tue, 24 Mar 2015 17:26:01 +0100) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:184291 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Looking at man git-stash save [-p|--patch] [--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [] Save your local modifications to a new stash, and run git reset --hard to revert them. The part is optional and gives the description along with the stashed state. For quickly making a snapshot, you can omit both "save" and , but giving only does not trigger this action to prevent a misspelled subcommand from making an unwanted stash. That sounds dangerous so I didn't do it yet. Is that what I should do? create Create a stash (which is a regular commit object) and return its object name, without storing it anywhere in the ref namespace. I can't make concrete sense of that. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! See stallman.org/skype.html.