Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

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

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:54

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help