Git error: The following untracked working tree files would be overwritten by checkout:

Error –

Your local project have some files that are removed in the branch you are trying to checkout in to


If you still want to checkout the branch, you can force checkout. But it will remove local project files to fit into the remote branch

git checkout my_branch -f

Leave a Reply

(*) Required, Your email will not be published