on an initial pull on a branch i am getting this error:
error: The following untracked working tree files would be overwritten by merge:
list of file...
Hi Edgardo,
This means that you have a file in your working copy that is untracked which also exists as a tracked file in the branch you're just about to merge. In your case Git doesn't know what to do as it doesn't want to overwrite files you might need. Your options are:
Basically, Git doesn't like to delete files unnecessarily so will want you to address the problem yourself before doing the merge. The error message does tell you which files are causing the problem so this should be pretty easy to fix.
Hope that helps, feel free to ask more questions if needed.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.