Re: Unexpected behaviour with git stash save --keep-index?

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

 



SZEDER Gábor wrote:
> 'git stash save --keep-index' means "save all local modifications and
>  remove all modifications from the working tree that are not in the
> index".  This differs substantially from "save only those
> modifications that are not in the index, and then remove them from
> the working tree".
>

Thanks for the explanation. It seemed strange first but now I know
why it does that.

>> Also maybe someone could someone recommend a way to split an
>> unclean working dir into several patches/commits?
> The workflow described at the end of stash's man page (under 'Testing
>  partial commits') works well for me.
>

Thanks. What about the case when I already have a number of existing
patches/commits and want to split the working dir into them.

Regards,
Jonas

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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