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

Fix for deploy:setup. #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix for deploy:setup. #4

wants to merge 2 commits into from

Conversation

marc
Copy link

@marc marc commented Aug 27, 2013

When checking out a repo and specifying a non-master branch, the existing checkout command fails if the repo uses that branch as its base. (Ex: git clone of a repo that uses mybranch as the base (default) instead of master would already be on the mybranch branch from git clone. Then git checkout -b mybranch … would fail with "fatal: A branch named 'mybranch' already exists.")

When checking out a repo and specifying a non-master branch, the existing checkout command fails if the repo uses that branch as its base. (Ex: git clone of a repo that uses mybranch as the base (default) instead of master would already be on the mybranch branch from git clone. Then git checkout -b mybranch … would fail with "fatal: A branch named 'mybranch' already exists.")
For example: cap deploy branch=different_from_current
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

Successfully merging this pull request may close these issues.

1 participant