删除带有西里尔标题的分支
Delete branch with cyrillic title
我正在尝试在 Bitbucked 中删除带有西里尔标题的分支。当我从“操作”>“删除”select 中收到此消息时 "Page not found. We couldn't find the page you requested." 当我尝试使用
从 cmd 中删除它时
git push origin --delete <my_cyrillic_titled_branch>
我收到这个错误:
error: unable to delete '<my_cyrillic_titled_branch>': remote ref does not exist
error: failed to push some refs to '<repo_url>'
更新:
我使用 Centos 7 和 git 版本 1.8.3.1
我应该如何删除它?
from cmd
您使用 Windows' 命令行吗?我想这就是问题所在;试试 Git Bash,因为 Git 和 Bitbucket 都可以毫无问题地使用西里尔文:
user@nohostname:~/development/bitbucket.org/storage> git --version
git version 2.7.4
user@nohostname:~/development/bitbucket.org/storage> git checkout -b ветка
Switched to a new branch 'ветка'
user@nohostname:~/development/bitbucket.org/storage> git push -u origin ветка
Password for 'https://*********@bitbucket.org':
Total 0 (delta 0), reused 0 (delta 0)
remote:
remote: Create pull request for ветка:
remote: https://bitbucket.org/*********/storage/pull-requests/new?source=%D0%B2%D0%B5%D1%82%D0%BA%D0%B0&t=1
remote:
To https://*********@bitbucket.org/*********/storage.git
* [new branch] ветка -> ветка
Branch ветка set up to track remote branch ветка from origin.
user@nohostname:~/development/bitbucket.org/storage> git push -u origin :ветка
Password for 'https://*********@bitbucket.org':
To https://*********@bitbucket.org/*********/storage.git
- [deleted] ветка
我正在尝试在 Bitbucked 中删除带有西里尔标题的分支。当我从“操作”>“删除”select 中收到此消息时 "Page not found. We couldn't find the page you requested." 当我尝试使用
从 cmd 中删除它时git push origin --delete <my_cyrillic_titled_branch>
我收到这个错误:
error: unable to delete '<my_cyrillic_titled_branch>': remote ref does not exist
error: failed to push some refs to '<repo_url>'
更新: 我使用 Centos 7 和 git 版本 1.8.3.1
我应该如何删除它?
from cmd
您使用 Windows' 命令行吗?我想这就是问题所在;试试 Git Bash,因为 Git 和 Bitbucket 都可以毫无问题地使用西里尔文:
user@nohostname:~/development/bitbucket.org/storage> git --version
git version 2.7.4
user@nohostname:~/development/bitbucket.org/storage> git checkout -b ветка
Switched to a new branch 'ветка'
user@nohostname:~/development/bitbucket.org/storage> git push -u origin ветка
Password for 'https://*********@bitbucket.org':
Total 0 (delta 0), reused 0 (delta 0)
remote:
remote: Create pull request for ветка:
remote: https://bitbucket.org/*********/storage/pull-requests/new?source=%D0%B2%D0%B5%D1%82%D0%BA%D0%B0&t=1
remote:
To https://*********@bitbucket.org/*********/storage.git
* [new branch] ветка -> ветка
Branch ветка set up to track remote branch ветка from origin.
user@nohostname:~/development/bitbucket.org/storage> git push -u origin :ветка
Password for 'https://*********@bitbucket.org':
To https://*********@bitbucket.org/*********/storage.git
- [deleted] ветка