GIT problem

arnabnaha wrote on Monday, October 20, 2014:

Hii
I am facing a weird problem…when ever I try to switch branch from master to “my_emr” in git bash for windows, it throws the following error: ATTACHED IN THE PIC BELOW

Now no way I can enter the branch my_emr, so I decided to delete the thumbs.db file which is causing the problem from github.com website directly and did that happily, but no rersolution found.

PIC:

http://nahahealthclinic.no-ip.org/public/git_prob.jpg

alternate text

yehster wrote on Monday, October 20, 2014:

type
git diff

That will show you what the untracked changes are, then you can figure out what to “move or remove” per the error message.

arnabnaha wrote on Monday, October 20, 2014:

typing git diff shows nothing

alternate text

PIC Link: http://nahahealthclinic.no-ip.org/public/git_prob_1.jpg

arnabnaha wrote on Monday, October 20, 2014:

Again the same issue -

Screen shot: http://nahahealthclinic.no-ip.org/public/git_prob_2.jpg

alternate text

yehster wrote on Monday, October 20, 2014:

delete ALL of those Thumbs.db files and try again.

arnabnaha wrote on Monday, October 20, 2014:

How to delete? because i cant enter that my_emr branch in my windows file explorer too…so in no way I can delete them…only way possible is by some command…which only developers like you, brady, tony, rod and others can suggest… I am helpless and ignorant…Please help…

yehster wrote on Monday, October 20, 2014:

try
rm

for each of those 5 files.

arnabnaha wrote on Monday, October 20, 2014:

here is the issue:

http://nahahealthclinic.no-ip.org/public/git_prob_3.jpg

Please read the text I have written in the pic with a red circle.

arnabnaha wrote on Monday, October 20, 2014:

for trying rm wont I have to move to that specific branch?

yehster wrote on Monday, October 20, 2014:

No. git is concerned about the state of those files in your current branch.

arnabnaha wrote on Monday, October 20, 2014:

Thanks Kevin…the rm worked…thanks a lot…ISSUE CLOSED