macos - 在 Mac 的源代码树中应用 .diff

标签 macos diff atlassian-sourcetree

我使用的是 mac,我有一个 .diff要从 Sourcetree 应用的文件。

有人可以帮助我完成相同的步骤吗?

最佳答案

我终于为 找到了答案MAC .
Sourcetree -> Actions -> Apply Patch -> Browse -> (Choose File) -> Apply
您可以导入 .diff文件。它类似于我们如何应用常规补丁。

关于macos - 在 Mac 的源代码树中应用 .diff,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49104638/

相关文章:

java - 在 Mac OS X 上使用 DB2 和 jdbc

bash - 连接本地文件和远程文件

python - 如何在终端上运行 Python 脚本?

regex - Meld 和 Perforce 中的空白差异异常(可能是其他)

git rebase 使用 sourcetree

git - 在 sourcetree,Git 窗口客户端中提交存储库时出错

visual-studio - 如何使用Visual Studio(vsdiffmerge)作为SourceTree for Mercurial中的外部差异工具?

macos - 无法拉取私有(private) Docker hub 存储库

linux - 如何创建补丁以删除文件夹并使用 diff 创建新文件夹?

algorithm - Eugene Myers 的差异算法 : Finding the Longest Common Subsequence of "A" and "B"