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

[Feature][Upmerge] Allow to change/detect 'main' branch #103

Closed
sstok opened this issue Jul 13, 2022 · 2 comments · Fixed by #109
Closed

[Feature][Upmerge] Allow to change/detect 'main' branch #103

sstok opened this issue Jul 13, 2022 · 2 comments · Fixed by #109
Assignees
Labels

Comments

@sstok
Copy link
Member

sstok commented Jul 13, 2022

Description
Some repositories use 'master' as the final branch for upmerging while newer repositories use 'main'

It should be possible to detect what the correct branch is, though a git config (core.main-branch) .
If absent use 'master' for compatibility (can be changed in v2.0).

@sstok sstok added the Feature label Jul 13, 2022
@sstok
Copy link
Member Author

sstok commented Jul 16, 2022

Minor correction #102 already took care of this, except not for a single branch (only with --all).

@sstok
Copy link
Member Author

sstok commented Apr 15, 2023

Partially done with #108 but not implemented for this command.

@sstok sstok self-assigned this Apr 15, 2023
sstok added a commit that referenced this issue Apr 17, 2023
This PR was merged into the 1.2-dev branch.

Discussion
----------

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tickets       | Fix #103 
| License       | MIT

Commits
-------

3213b9b Automatically detect the primary-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant