Cannot get passed the 6/10 $ git checkout master


#1

Same issue here. Tried everything. Cannot get passed the 6/10 $ git checkout master
error:

$ git checkout master
error: Your local changes to the following files would be overwritten by checkout:
resume.txt
Please, commit your changes or stash them before you can switch branches.
Aborting
$

I used the get help, in the lower right corner. and Reset the whole Exercise. This seemed to get me passed.


Merge conflict
#2

You can switch branches with changes in files, you might want to add them:

git add *

and then maybe you also need to commit them:

git commit -m "message"

or, you can something not covered in the course:

git stash

to stash them, so you can switch branches


#3

A post was split to a new topic: 6. ive tried everything..... nothing works


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.