I am verry new to git. I cloned a project on my local server and I edit my files with TextMate.
So, I had a branch called master. Then I created a second branch called local. I made somes modifications, added some files and commited them all. But now when I go back to my master branch, I am unable to edit with TextMate the ancient files (non modified master branch files). How is it possible to fix that? Am I supposed not to use TextMate?
Best,
Mehdi
Did you do something like this then:
At this point you should be on your local master branch as you were after clone. If you want to merge in your changes from local into master:
At any point you can run
git statusto see which files have changed andgit branch -ato see all of the branches on your repoIf you did all of this correctly and still cant edit the files then it could be a permissions issue: