Skip to content

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