What is meant by EGit when it displays a number in parenthesis in Package Explorer next to the project name, and a source folder name, but nowhere below?
e.g. notice the number (16):
I have checked out a tag from GIT (HEAD detached state). I don't have any local changes - neither committed or uncommitted.
If that's of relevance, it's a Gerrit repository, in Eclipse Kepler SR1 (Build id: 20130919-0819)
And I don't see a match with the configuration (I am using the default one) under Preferences | Team | GIt | Label Decorations | Projects:
{dirty:>} {name} [{repository} {branch}{ branch_status}]
EGit is an Eclipse Team provider for the Git version control system. Git is a distributed SCM, which means every developer has a full copy of all history of every revision of the code, making queries against the history very fast and versatile.
If you do a commit in one project and then accidentally push this commit, with bypassing code review, to another project, this will fail with the error message 'non-fast forward'. To fix the problem you should check the push specification and verify that you are pushing the commit to the correct project.
fetch from upstream does not overwrite anything in the working tree. But pull will, but it will not completely destory work, it will create a conflict to manually merge if it can not do it automatically. I suggest if you are unsure, ensure you working tree is clean, and everything commited.
It's not from EGit.
Note that it's also on src/main/java
. I would guess it's from Findbugs or Checkstyle or another plug-in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With