eclipse - EGit not-for-merge -


i cloned new repo github , file fetch_head in working directory -> .git contains following:

fe300b2c9852acf68b4f1dd78ace916a083f3236    not-for-merge   branch 'master' of ssh://git@github.com/mike123/myrepo.git 

what not-for-merge mean?

basically, git fetch fetches branches , stores result in fetch_head file. when it's run part of git pull, information later used internally decide needs merged.

in case multiple branches fetched, ones not marked not-for-merge later merged. see this blog post junio.

in case, jgit (the library used egit working git repositories) seems behave differently command-line git implementation. in command-line git, there no fetch_head right after cloning. after first time pull, file there. try pulling , see how file changes. difference in implementation should no harm though.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -