Thread (23 messages) flat view 23 messages, 8 authors, 2016-06-15

Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'.

From: Jeff King <hidden>
Date: 2016-06-15 22:45:32

On Wed, Oct 29, 2008 at 02:02:29AM +0100, Johannes Schindelin wrote:
quoted
+git-staged
Would it not be better to teach "git show --staged" to do that, and to add 
a command pair "git stage <file>" and "git unstage <file>" to do the 
obvious?
Yes, I think half of the discussion went on IRC. But I don't think "git
staged" is a good idea. I think a "--staged" alias for "--cached" in
"git diff" makes a lot more sense.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help