login
Header Space

 
 

Re: git-rm isn't the inverse action of git-add

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff King <peff@...>
Cc: Christian Jaeger <christian@...>, Yann Dirson <ydirson@...>, Johannes Schindelin <Johannes.Schindelin@...>, <git@...>
Date: Tuesday, July 3, 2007 - 1:09 am

Jeff King <peff@peff.net> writes:


Exactly.  And not considering that lossage helps us keep our
sanity.  I think "git rm --cached" falls into the same
category.  If the user wants to discard what is in the index
without losing a copy in the working tree, I think we should let
him do without fuss.


Yes, that is (at least, "used to be") exactly the use case "rm
--cached" is supposed to help.  Added something prematurely to
the index, not ready to commit that part of the changes yet.
Of course you could do partial commits with "add --interactive"
these days, so there is not as much need for this as it used to
be anymore.



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-rm isn't the inverse action of git-add, Christian Jaeger, (Mon Jul 2, 2:09 pm)
Re: git-rm isn't the inverse action of git-add, Yann Dirson, (Mon Jul 2, 3:42 pm)
Re: git-rm isn't the inverse action of git-add, Christian Jaeger, (Mon Jul 2, 4:23 pm)
Re: git-rm isn't the inverse action of git-add, Yann Dirson, (Mon Jul 2, 4:40 pm)
Re: git-rm isn't the inverse action of git-add, Christian Jaeger, (Mon Jul 2, 5:20 pm)
Re: git-rm isn't the inverse action of git-add, Jeff King, (Tue Jul 3, 12:12 am)
Re: git-rm isn't the inverse action of git-add, Junio C Hamano, (Tue Jul 3, 12:47 am)
Re: git-rm isn't the inverse action of git-add, Jeff King, (Tue Jul 3, 12:59 am)
Re: git-rm isn't the inverse action of git-add, Junio C Hamano, (Tue Jul 3, 1:09 am)
Re: git-rm isn't the inverse action of git-add, Jeff King, (Tue Jul 3, 1:12 am)
Re: git-rm isn't the inverse action of git-add, Junio C Hamano, (Tue Jul 3, 2:26 am)
Re: git-rm isn't the inverse action of git-add, Matthieu Moy, (Mon Jul 2, 4:54 pm)
Re: git-rm isn't the inverse action of git-add, Johannes Schindelin, (Mon Jul 2, 5:05 pm)
Re: git-rm isn't the inverse action of git-add, Matthieu Moy, (Tue Jul 3, 6:37 am)
Re: git-rm isn't the inverse action of git-add, Johannes Schindelin, (Tue Jul 3, 8:09 am)
Re: git-rm isn't the inverse action of git-add, Matthieu Moy, (Tue Jul 3, 9:40 am)
Re: git-rm isn't the inverse action of git-add, Jan Hudec, (Wed Jul 4, 4:08 pm)
Re: git-rm isn't the inverse action of git-add, Matthieu Moy, (Thu Jul 5, 9:44 am)
Re: [RFC][PATCH] Re: git-rm isn't the inverse action of git-..., Johannes Schindelin, (Sun Jul 8, 2:10 pm)
Re: [RFC][PATCH] Re: git-rm isn't the inverse action of git-..., Johannes Schindelin, (Sun Jul 8, 5:49 pm)
Re: git-rm isn't the inverse action of git-add, Johannes Schindelin, (Tue Jul 3, 10:21 am)
speck-geostationary