| [SOLVED] EGit shows (seemingly random) changes on newly checked out branch [message #1220757]
||Fri, 13 December 2013 12:34
|| Stephan Druskat
Registered: October 2011
Location: Berlin, Germany
I'm not very proficient in git, and have stumbled across a thing in EGit (or possibly git) that I don't understand.|
I have a github remote with some pull requests merged into some branches. I'm developing solo, so I'm the only one who really works on it. Locally, when I want to develop - say - a new feature, I create and checkout a new branch. Either I use a local branch (e.g., an up-to-date master), or a remote branch to base the new branch upon (guess I should call those the "tracking branches"?).
Now I have issues with a branch: Whenever I check out this local branch, EGit shows changes on the branch even before I have done a thing. So whenever I would want to switch back to another branch, I'd have to commit or stash the changes, or reset. Reset doesn't work in most cases, sometimes it works to click reset several times.
The real problem is: I don't know where these changes come from, and they don't affect the same files every time I check out the branch. Say I switch from an unchanged master to this branch, I will see changes on files A and B, I reset and go back to master, then go to the branch again, and I will see changes on files C, D, and E. The files types of the changed files aren't coherent either, they are often a mixture of .classpath, feature.xml, plugin.xml, and Java source files (Eclipse RCP application).
Can anybody offer a guess at what I'm doing wrong, or whether this is a bug?
p.s.: Kepler R1, EGit 126.96.36.199309161630-r.
[Updated on: Fri, 13 December 2013 15:50]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01463 seconds