-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix branch name in "Deleting a branch on GitHub_" section #7131
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
Conversation
@@ -397,7 +397,7 @@ Deleting a branch on GitHub_ | |||
# delete branch on GitHub | |||
git push origin :my-unwanted-branch | |||
|
|||
(Note the colon ``:`` before ``test-branch``. See also: | |||
Note the colon ``:`` before ``my-unwanted-branch``. See also: | |||
http://github.com/guides/remove-a-remote-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this https while you're here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/guides/remove-a-remote-branch does not seem to be valid and redirects toward https://help.github.com/categories/managing-remotes/. From there, I have chosen the (https) link that sounded related to "removing a remote branch".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that link is for deleting a remote itself, not the a remote branch. I think the correct link is https://help.github.com/articles/pushing-to-a-remote/#deleting-a-remote-branch-or-tag
Huh, the Travis failure report looks weird compared to the ones I am used to (and it is way longer). Is it something normal? |
Given that you only changed rst files, it is almost certainly just the tests being flaky. Restarted the failing test. |
The report looks different because that run uses pytest instead of nose. |
Thanks! |
@NelleV I think that @QuLogic is right : I was tricked by the URL name and the correct link should be https://help.github.com/articles/pushing-to-a-remote/#deleting-a-remote-branch-or-tag, where the presented solution is indeed similar to @tacaswell 's code and remark. Should I correct this in a new PR or is there a way to do otherwise (like reverting the fresh merge)? |
just do another PR. |
Backported to v1.5.3-doc as f99de8a. |
@tacaswell : I could not find any "test_branch" in the example code in the "Deleting a branch on GitHub_" section, so I guess it was simply an old name forgotten after a change.