Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Solution] Upstream renamed from master to main #320

Closed
wei opened this issue Apr 3, 2021 · 3 comments
Closed

[Solution] Upstream renamed from master to main #320

wei opened this issue Apr 3, 2021 · 3 comments

Comments

@wei
Copy link
Owner

wei commented Apr 3, 2021

With the default configuration, Pull will/might stop working when upstream renames their default branch from master to main, or any other name.

The easiest solution is to create a new branch called main like so:
image

With this change, Pull app will automatically pull in upstream's main to your main branch.

You can then set the main branch as your new default branch (optional).

@ajhalili2006
Copy link

Will renaming the current branch to match the upstream repo's main branch work or do the app needs to do some algorithmic magic?

@wei
Copy link
Owner Author

wei commented Apr 22, 2021

@AndreiJirohHaliliDev2006 Yes but Git does not "rename" branches. Whatever git application you use is probably creating a new branch and deleting the old one.

@wei wei closed this as completed Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@wei @ajhalili2006 and others