eclipse - Which sequence should be follow to synchronize code (commit and update) using Egit? -


i quite new egit (an eclipse plugin git).

i getting weird errors (like dirty tree, conflict exception) while synchronizing code when there conflict between local file , remote file.

so sequence should follow use git in better way?

right performing following steps:

  1. fetching
  2. merging (in step getting errors using team synchronization.)
  3. add git index (in case there conflict)
  4. committing

please me better way if any.

that seems correct, described in "resolving merge conflict" of egit user guide.

this egit tutorial adds following tips:

use git staging view find conflicting files, in large projects faster navigating package explorer view.

the rest follows doing:

once have manually merged changes, select team → add context menu of resource mark conflicts resolved , commit merge resolution via team → commit.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -