简体   繁体   中英

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

Did you push the branch?

git push origin chapter1

git push origin chapter2

...etc...

(Note: If you're using a graphical interface for git in eclipse you might consider adding that information to the question.)

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:

参考规格

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM