Push project from Eclipse to Github
- 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.

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

3. Configure Git repository -> Finish.

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

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


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

7. Successful message.

*ERROR: non-fast forward

- 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."

Comments