I've done this before but it is not working for me now. We have a few branches
- develop
- dev_user1
- dev_user2
- dev_user3
- master
The three of us developing the project merge our work into develop and then after testing on to master. Just normal stuff. My branch user2 was behind a few commits and I needed the changes so I merged and now my branch on github is up-to-date. However I have a lot of code on my local machine that has changed but not committed. Rather that pull all the files form dev_user2 I just want to pull a couple of files and replace or update the local files.
In the past I used git checkout PATH but that does not seem to work now.
Any suggestions?