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

subsplit update does not work on repositories without a master branch #13

Open
tstoeckler opened this issue Aug 10, 2014 · 0 comments
Open

Comments

@tstoeckler
Copy link

Although developing in a master is a common practice among many projects, such a branch is not required to exist. the subsplit update command, however, hardcodes such a branch and fails if it doesn't exist.

I see three options to solve this problem:

  1. Remove the checking out and resetting of the master branch. I'm not really sure what purpose it serves in the first place, but I'm probably missing something.
  2. Make the branch to check out and reset configurable with a --branchoption (or similar).
  3. Automatically figure out the branch to check out and reset by some arcane magic.

I'd love to hear your thoughts on this. Thanks!

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

1 participant