Re: error(?) in "man git-stash" regarding "--keep-index"

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

 



My 2c on this:

1) "If the --keep-index option is used, all changes already added to the index are left intact" (manpage git stash)

That appears to be correct and clear


2) "$ git stash push --keep-index    # save *all other* changes to the stash" (manpage git stash)

That is either not correct or misleading. "All other" implies in my opinion all changes

except the ones that were already added. *"All changes including already staged changes"*

might be a better choice.


Please also see open question on StackOverflow:

https://stackoverflow.com/questions/50242489/how-to-ignore-added-hunks-in-git-stash-p/





[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