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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Teemu Likonen
Date: Wednesday, October 29, 2008 - 11:30 am

Wincent Colaiuta (2008-10-29 18:42 +0100) wrote:


I don't remember being confused in particular area but I think it's a
_very_ good thing that the following three are behind the same "diff"
command:

    git diff
    git diff --cached       (or --staged)
    git diff HEAD

It's also good idea to pretty much always teach those three together.
--
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:
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Johannes Schindelin, (Tue Oct 28, 6:02 pm)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Johannes Schindelin, (Wed Oct 29, 8:08 am)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Johannes Schindelin, (Wed Oct 29, 8:48 am)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Johannes Schindelin, (Wed Oct 29, 10:03 am)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Wincent Colaiuta, (Wed Oct 29, 10:42 am)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Teemu Likonen, (Wed Oct 29, 11:30 am)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Johannes Schindelin, (Wed Oct 29, 12:23 pm)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Wincent Colaiuta, (Wed Oct 29, 12:44 pm)
Re: [PATCH] Implement git-staged, an alias for 'git diff - ..., Felipe Contreras, (Wed Oct 29, 12:49 pm)