Re: Git rebase failure: .dotest overwritten
From: Stephan Beyer <hidden>
Date: 2016-06-15 22:44:57
Hi, Joe Fiorini wrote:
A friend of mine asked me for help with a git rebase problem. I was clueless. Here is what he was seeing: The main problem seems to be the following error: "fatal: Untracked working tree file '.dotest/0001' would be overwritten by merge."; also all the files that it says "already exist in working directory" did not exist before he ran the rebase. Maybe it's trying to run the rebase more than once? His working copy was clean. Any thoughts? Any other details I can provide?
git-rebase (without -i/-m) generates a directory called ".dotest/" to save temporary stuff like the commits you want to rebase. And it seems that at least one commit in his repo has .dotest/* files in the tree, so that message occurs. Hmm, he should perhaps clean that commit up and remove the .dotest files from it. (After figuring out that commit, he could try git rebase -i ... and change the "pick" line to "edit".) Regards. -- Stephan Beyer [off-list ref], PGP 0x6EDDD207FCC5040F