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
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: