Re: Create a new commit from patches without using any worktree?

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

 



Hi Klas,

Klas Lindberg wrote:

> Is there any way to record a new commit based on contents in a patch
> without going through a worktree?

Not sure if there a user-friendly way to do this, but if you are
scripting, I'd suggest looking into "git read-tree", "git apply
--cached", "git write-tree", "git commit-tree", and GIT_INDEX_FILE.

Hope that helps,
Jonathan
--
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]