I recently started using Eclipse Kepler with EGit plugin and these branches are not what I am used to. Is there a way to permanently stop these branches from being created? I tried removing them manually, but it does not work and I don't want to have them the next time I do fetch or rebase.
As I understand from the comments on your question, you only want these refs not to be shown in History
view.
You may try to uncheck Additional Refs
from Preferences > Team > Git > History
. This should do the job.
ORIG_HEAD and FETCH_HEAD are symbolic refs. They simply record the sha1 of the last Origin and the last Fetch.
In one sense they are an implementation detail, but because of the scriptability of Git on Linux they can be used to provide extra power user capability.
As you delve further into the manual and tutorials you will appreciate what they can do for you (usually when you made some mistake and these refs remember an important state that you can go back to)
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