git p4用 - 检测 - 分支克隆分支的错误

发布于 2025-02-05 05:18:53 字数 247 浏览 3 评论 0原文

当我尝试从Perforce检测分支时,我会得到以下提到的错误。

git p4 clone --detect-branches //depot/path/abc_987/migration/@all

我收到的错误是

unicodedecodeerror:'utf-8'编解码器无法在位置0中解码字节0xc4:无效延续字节

是什么问题?

When I trying to detect branches from Perforce I am getting the below mentioned error.

git p4 clone --detect-branches //depot/path/abc_987/migration/@all

The error I am receiving is

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte

what is the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷…雨湿花 2025-02-12 05:18:53

git P4期望您的P4项目使用Unicode。 期望也许有点太强了,但是如果它确实使用Unicode,您会没事的。您不正确,这意味着您不使用Unicode。

,Tao Klerks添加了许多改进到git p4编码处理。但是,这似乎并未在任何地方发布(现有的git标签都包含此提交,尽管它在Master分支中)。不过,您可能需要克隆git存储库,并在存储库上尝试master分支的代码。

git p4 expects your P4 project to use Unicode. Expects is perhaps a bit too strong, but if it does use Unicode, you'll be fine. You aren't fine which means you are not using Unicode.

In commit f7b5ff607fa1a62a480399afb6ccb9691735bf79, Tao Klerks added a number of improvements to the git p4 encoding handling. However, this does not appear to be released anywhere (no existing Git tag contains this commit, though it's in the master branch). You might want to clone the Git repository for Git and try the master branch's code on your repository, though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文