Eclipse - Update your forked repository with upstream

By xngo on October 27, 2019

Assume that I forked LarsGit223/dokuwiki-plugin-odt.git repository to my own repository xuanngo2001/dokuwiki-plugin-odt.git. Now that there are multiple commits in LarsGit223 ahead of when I forked it. I want to merge the new commits back to my repository. Here are the steps that I did in Eclipse.

  1. Right-click on your project and then select to Team > Pull....
    Eclipse - Team > Pull...
  2. Add a New Remote repository that points to https://github.com/LarsGit223/dokuwiki-plugin-odt.git.
    Eclipse - Team > Pull... > New Remote
  3. Pull the latest commits from that repository, i.e Team > Pull....
  4. Merge and commit changes that you like.
  5. Push the commits back to your own repository.

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.