英文:
Is there a function to solve the fatal: protocol '?[200~https' is not supported
问题
当我使用git推送我的代码库时,会出现这个问题:致命错误:协议'?https'不受支持
这不是双引号错误或Ctrl + V错误,我希望有位英雄能帮我将我的代码库推送到远程库。谢谢你。
英文:
When i use the git to push my repository it will pop this problem fatal: protocol '?[200~https' is not supported
It's not the double quote error and ctrl + v error, i hope some hero can help me to push my repository to the remote one. Thank you
答案1
得分: 0
?[200~
是来自 "方括号粘贴" 的遗留物。你可以放心删除这部分,但请确保检查 git remote -v
中的 URL 的其余部分是否正确。 (如果需要修复它,git remote set-url origin $CORRECT_URL
应该能解决。)
你没有提到你的操作系统或窗口管理器/桌面环境,但其中大多数都有特定的键组合用于 "普通粘贴"。你也可以在终端配置或 .bashrc
/.zshrc
/等文件中指定一些内容来禁用方括号粘贴。
英文:
?[200~
is an artifact from "bracketed pasting". You should be safe to remove that part, but be sure to check that the rest of the URL in git remote -v
is correct. (If you need to fix it, git remote set-url origin $CORRECT_URL
should do the trick.)
You didn't mention your operating system or window manager/desktop environment, but most of those will have a specific key combination for "plain pasting". You may also be able to specify something in your terminal config or .bashrc
/.zshrc
/etc file to disable bracketed paste.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论