Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting my Fork to switch to the 'develop' branch #701

Closed
RaXaR opened this issue Mar 3, 2012 · 4 comments
Closed

Getting my Fork to switch to the 'develop' branch #701

RaXaR opened this issue Mar 3, 2012 · 4 comments

Comments

@RaXaR
Copy link
Contributor

RaXaR commented Mar 3, 2012

I read the wiki but it's not quite clear to me how I can switch to the 'develop' branch.
Would a quick fix be to delete my current fork and then recreate it?

@mkalam-alami
Copy link
Collaborator

Would a quick fix be to delete my current fork and then recreate it?

Once @Maescool will have set the default branch to develop, then yes.

Meanwhile, here is a solution (there are more simple ways to do it but this one should fit most situations):

git remote add upstream git://github.com/Maescool/Catacomb-Snatch.git
git checkout -b develop
git fetch upstream develop
git rebase FETCH_HEAD

If you already had a work in progress on master, this should keep it in develop.
Now if you had a work in progress on another branch, some additional steps:

git checkout (yourbranch)
git rebase develop

**EDIT:* Tested then fixed commands, these should work fine*

@RaXaR
Copy link
Contributor Author

RaXaR commented Mar 3, 2012

thanks, I'll try that

@Maescool
Copy link
Owner

Maescool commented Mar 3, 2012

default branch changed :)

@RaXaR
Copy link
Contributor Author

RaXaR commented Mar 3, 2012

Cool thanks, I seem to have gotten it to work already (somehow :D )

@RaXaR RaXaR closed this as completed Mar 3, 2012
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants