Let me explain what is going on... We are working with small team of 3 people on one project. But for last week 2 new people was helping us. Because the real team is only 3 person, we didn't create a branches or something like this. So every time when someone need to make a push follows this scenario:
- Add files to index.
- Commit
- Pull
- Fix conflicts and mark as marged
- Commit again if needed and push
And right now we have a problem. For one of these new people Git behaves very strangely. Sometimes pull doesn't create any problems and sometimes like yesterday, it thinks that he modified a lot of files, which is not true... The modifications, which it see are the old version of files, which pull should update to new version... He didn't add them to index and didn't commit them, but somehow in Git repository are old files...
Someone decided to fix this problem by adding an empty line to files, having the correct version of files, because nothing else didn't want to work. But it's not entirely correct and right now is huge mess on repository. So he created a recover branch, but everyone were working on master.
How to make this new branch the current master? Also we need include local commits of other people in this new branch. Or maybe you could recommend something else? And why is this happening and only to one person??