Re: [PATCH 6/7] stage: add 'diff' subcommand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/08/21 11.57, Felipe Contreras wrote:
@@ -12,6 +12,7 @@ SYNOPSIS
  'git stage' [options] [--] [<paths>...]
  'git stage' (-a | --add) [options] [--] [<paths>...]
  'git stage' (-r | --remove) [options] [--] [<paths>...]
+'git stage' (-d | --diff) [options] [--] [<paths>...]
DESCRIPTION
@@ -32,11 +33,15 @@ OPTIONS
  --remove::
  	Remove changes from the staging area. See linkgit:git-reset[1].
+-d::
+--diff::
+	View the changes staged for the next commit. See linkgit:git-diff[1].

Is it synonym to `git diff --staged`?

--
An old man doll... just what I always wanted! - Clara



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux