top of page
Search

Push project from Eclipse to Github

  • Writer: Rudy Shih
    Rudy Shih
  • Sep 4, 2019
  • 1 min read

Updated: Sep 5, 2019

Tried to push project in Eclipse and resolve "non-fast forward" error.


Eclipse Version: 2019-06 (4.12.0)


1. New repository in Github and copy the URL.


ree

2. Right click on the project in Eclipse -> Team -> Share Projects...

ree

3. Configure Git repository -> Finish.

ree

4. Right click on Project -> Team -> Commit...

ree

5. Add index from unstaged changes to staged changes -> Commit and Push...

ree

ree

6. Fill the copied URL from step to URI, user and password.

ree

7. Successful message.


ree

*ERROR: non-fast forward


ree

- Resolve by the following steps but I am not sure if there is any better solution.

-> Right click on the project -> Team -> Push branch 'master' -> Check "Force overwrite branch in remote if it is exists and has diverge."


ree

 
 
 

Comments


  • linkedin
  • generic-social-link

©2019 by Rudy. Proudly created with Wix.com

bottom of page