How do I get my new eclipse branch to show up as a new project in my github repository?
I am working through a programming book and I want to branch off of master for each chapter, then merge back to master once the chapter is completed, but have the chapter specific branch show up in my github permanently. What is the best way to do this through the eclipse gui? I have already created the branch in eclipse, but I can’t get it to create the duplicate project branch in github.
Github repository -master -chapter1 -chapter2
2 Solutions collect form web for “How do I get my new eclipse branch to show up as a new project in my github repository?”
If your “
Team => Push to Upstream” is grayed, you need to specify the upstream address of your local Git repo in your Eclipse Egit configuration: see “Eclipse/Egit, Push to Remote menu choice is grayed out”.
Check also your SSH2 config in the same EGit.
Finally, click on “Add all branches spec” in order to push all your local branches to the upstream repo:
Did you push the branch?
git push origin chapter1
git push origin chapter2
(Note: If you’re using a graphical interface for git in eclipse you might consider adding that information to the question.)