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
When force pushing a branch to a remote one can use either:
git push origin master --force
Or the shorthand version
git push origin +master
Unfortunately posh-git is unable to perform auto-complete of a branch name when the "+" prefx is used, presumably it is assuming the "+" is the first letter of a branch name. Likewise the same issue occurs when deleting a remote branch:
git push origin :master
It would be amazing if posh-git could recognise + and : as simply modifiers and still perform branch auto-complete.
The text was updated successfully, but these errors were encountered:
dan-turner
added a commit
to SingularityIT/posh-git
that referenced
this issue
Jan 12, 2015
Git supports a short-hand syntax for force-pushing a branch to a remote by including the "+" modifier before the branch name. However when doing so, Posh-git was no longer able to auto-complete the branch name as it did not understand this syntax. This PR adds that support.
Closesdahlbyk#173
When force pushing a branch to a remote one can use either:
Or the shorthand version
Unfortunately posh-git is unable to perform auto-complete of a branch name when the "+" prefx is used, presumably it is assuming the "+" is the first letter of a branch name. Likewise the same issue occurs when deleting a remote branch:
It would be amazing if posh-git could recognise + and : as simply modifiers and still perform branch auto-complete.
The text was updated successfully, but these errors were encountered: