Skip to content

Conversation

@jonan
Copy link

@jonan jonan commented Dec 17, 2014

For example, I can have a branch named foo that follows the branch bar in the remote github.
Without this patch git-delete-branch foo will try to delete origin/foo when it should really delete github/bar.

If the branch has no config it uses the default values, origin as remote and the same branch name.

Don't assume that the remote is always origin and that the
remote branch name is the same as the local one
@hemanth
Copy link
Collaborator

hemanth commented Dec 17, 2014

👍

hemanth added a commit that referenced this pull request Dec 17, 2014
@hemanth hemanth merged commit 182d17c into tj:master Dec 17, 2014
tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
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.

2 participants