`gt fold` drops changes of the parent
# report-bugs
b
gt fold
drops changes of the parent
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
b
Copy code
branch1    <- u r here
branch2
branch3
gt fold -k
new
Copy code
branch1
branch3
branch2's file changes are not merged into branch1, but are instead discarded. on cli version
1.6.7
p
hey Bhav, thanks for those details and we received your CLI logs. Will try reproduce
b
still happening is this the latest cli?
this is actually incredibly painful because it's dropping code changes and we don't know if we're not paying attention. If its more than 1
gt
command ago, then
gt undo
doesn't work, and we have to muck around the
git reflog
to reconstruct.
p
gotcha, will raise with the team
b
circling back - what's the status on this please?
p
hey Bhav, this is currently still in our CLI team's queue