Jump to content
  • 0

github problem


myraje

Question

hi,

I have a problem with github.

I fork mangos-zero server repo, I clone it in my PC.

I doing some change and commit them.

But when I push, My commit going to the master branch and no in develop branch...

How can I transfer my commit into develop branch?

Edit: I do all operation with git GUI (windows)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

You must switch your working copy to given branch. In bash you type git checkout branch_name, after that git adjusts files in your working copy so that they are sync'd with selected branch, after that you push by typing git push origin branch_name (same as with master, because in git master is a branch).

I don't use git gui, but maybe the logic covered here would be helpful ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use