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:
- fetching
- merging (in step getting errors using team synchronization.)
- add git index (in case there conflict)
- 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 viateam → commit
.
Comments
Post a Comment