当我检查 .rc 文件时,“Sourcetree 确定此 URL 的格式不受支持”

问题描述 投票:0回答:1

当我检查

.babelrc
git 历史记录时,我收到错误“Sourcetree 确定此 URL 的格式不受支持”。

使用

git log
效果很好。

qiulang@qiulangdeMacBook-Air jssipwrap % git log -p -- .babelrc
commit a428050a4b563de019d23751b3988a02525096ca (HEAD -> master, origin/master, origin/HEAD)
Author: qiulang2000 <[email protected]>
Date:   Fri Feb 24 16:20:08 2023 +0800
...

我发现 Sourcetree 也会抱怨其他

.rc
文件。我该如何解决它?

----更新---

正如 https://jira.atlassian.com/browse/SRCTREE-6995 所说,“此问题的修复可在 Sourcetree 4.2.4 中找到。”我也验证了。

git atlassian-sourcetree
1个回答
0
投票

这不是很好,但作为一种解决方法,你可以:

  • 创建一个新分支
  • 重命名以
    .
  • 开头的文件/文件夹
  • 提交更改
  • 现在您可以使用
    Log Selected
  • 查看历史记录
  • 选中
    Follow renamed files
    复选框以查看完整历史记录
© www.soinside.com 2019 - 2024. All rights reserved.