You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select a remote branch with a forward slash (/) in the name. For example, origin/feature/my-feature-branch.
Problem
When these steps are completed, I expect to see the "Branch Name" text field populated with "feature/my-feature-branch". Instead, it is populated with "my-feature-branch". This does not track with git checkout feature/my-feature-branch, which creates a branch called feature/my-feature-branch that tracks the branch of the same name from the remote origin.
The text was updated successfully, but these errors were encountered:
I'm going through old emails and came across one for git-cola and saw this commit at the top when I decided to pop back in and see how it's going :) . So, remotes can also have '/' in the name (e.g., I name github remotes gh/$username). I don't know if git exposes a tool to split the remote from the branch name or not, but it's another corner case.
I just pushed an additional safeguard that allows for slashes in remote names too. You can have slashes in branches and remotes, no problem. See 34d6853
Steps to Reproduce
Branch > Create Branch...
Tracking branch
radio button./
) in the name. For example,origin/feature/my-feature-branch
.Problem
When these steps are completed, I expect to see the "Branch Name" text field populated with "feature/my-feature-branch". Instead, it is populated with "my-feature-branch". This does not track with
git checkout feature/my-feature-branch
, which creates a branch calledfeature/my-feature-branch
that tracks the branch of the same name from the remoteorigin
.The text was updated successfully, but these errors were encountered: