Problem :
git.exe checkout master --
error: The following untracked working tree files would be overwritten by checkout:
.gitignore
Please move or remove them before you switch branches.
Aborting
Solution :
try running below commands one by one on your repository
git.exe checkout master --
error: The following untracked working tree files would be overwritten by checkout:
.gitignore
Please move or remove them before you switch branches.
Aborting
Solution :
try running below commands one by one on your repository
git fetch --all
git reset --hard origin/master
this will reset your .gitignore file or any other file which is conflicting.
hope this helps .
No comments:
Post a Comment