Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15

Re: git cherry-pick before archive

From: Denis Bueno <hidden>
Date: 2016-06-15 22:44:55

On Fri, Jul 11, 2008 at 14:46, Johannes Schindelin
[off-list ref] wrote:
BTW in your case, I would suggest this:

       INDEX_FILE=.git/bla git read-tree HEAD &&
       INDEX_FILE=.git/bla git apply --cached patchfile &&
       INDEX_FILE=.git/bla git archive [...] &&
       rm .git/bla

IOW: Just use a temporary index for your work.
What is the rationale?  So I can relieve the assumption that the index is clean?

-- 
 Denis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help