On trying to merge two git branches, I’ve often found Xcode 4 displays “Branches not found” in the Merge dialog, despite the Organiser clearly recognising multiple branches for the repo.
It seems the problem occurs because Xcode believes the working copy has uncommitted changes (even though the Commit dialog clearly shows there’s nothing to commit). The reason is that Xcode 4 doesn’t instruct git to ignore system invisible files, specifically .DS_Store (see rdar://8951416).
Turns out the workaround isn’t hard, just create a global excludes file:
git config --global core.excludesfile ~/.gitignore
… and ensure .DS_Store is ignored:
echo .DS_Store >> ~/.gitignore
Xcode will then allow you to merge branches or perform any other operation that was being prevented because it incorrectly thought there was something to commit.
分享到:
相关推荐
202.2.200_Xcode_Installer.pkg
6.0版--通用6.0.1 如果需要用IDA远程调试iPhone或者iPod或者iPad.. 这个文件是必须的..从XCODE里提取出来供大家下载,不需要积分. ...如果您的设备连接过XCODE..可以不用下载了..因为XCODE自动帮你copy了.呵呵.
4.3版 如果需要用IDA远程调试iPhone或者iPod或者iPad.. 这个文件是必须的..从XCODE里提取出来供大家下载,不需要积分. ...如果您的设备连接过XCODE..可以不用下载了..因为XCODE自动帮你copy了.呵呵.
5.1版 如果需要用IDA远程调试iPhone或者iPod或者iPad.. 这个文件是必须的..从XCODE里提取出来供大家下载,不需要积分. ...如果您的设备连接过XCODE..可以不用下载了..因为XCODE自动帮你copy了.呵呵.
5.0版 如果需要用IDA远程调试iPhone或者iPod或者iPad.. 这个文件是必须的..从XCODE里提取出来供大家下载,不需要积分. ...如果您的设备连接过XCODE..可以不用下载了..因为XCODE自动帮你copy了.呵呵.
4.2版 如果需要用IDA远程调试iPhone或者iPod或者iPad.. 这个文件是必须的..从XCODE里提取出来供大家下载,不需要积分. ...如果您的设备连接过XCODE..可以不用下载了..因为XCODE自动帮你copy了.呵呵.
Xcode Command Line Tools, 安装Homebrew必备,无法使用命令安装时可用安装包安装
这个名为"xcode_3.2.6_and_ios_sdk_4.3_beta.dmg.zip"的压缩包文件,包含了Xcode 3.2.6的完整安装程序和iOS 4.3 Beta的软件开发工具,对于研究和理解早期iOS开发历史具有重要价值。 首先,Xcode是苹果官方的集成...
【标题】"GTM-Xcode-Plugin.xcplugin.10.0.6.zip_xcode" 描述了一个针对Xcode的插件版本10.0.6,名为"GTM Xcode Plugin"。这个插件是专门为了提升iOS开发者的效率而设计的,尤其在处理与日历相关的功能时。它可能...
Xcode Command Line Tools, 安装Homebrew必备,无法使用命令安装时可用安装包安装
标题中的“xcode7_mexopts.zip”表明这是一个与Xcode 7相关的压缩文件,而“_mexopts_联合开发”则暗示了该文件与在MATLAB中使用C编译器进行联合开发有关。MATLAB的MEX接口允许用户用C、C++或Fortran等语言编写代码...
Command_Line_Tools_for_Xcode_15.3.dmg
.Xcode_13_beta.xip.conf
文件目录Xcode_7.3.1_GM_Seed.dmg\5.hfs\Xcode\Xcode.app\Contents\Developer\Platforms\iPhoneOS.platform\DeviceSupport,从新发布的Xcode_7.3.1_GM_Seed.dmg镜像中提取
Command_Line_Tools_for_Xcode_11.5 需要配合xcode11.5使用
Xcode 离线安装包安装脚本,将脚本复制到安装包所在目录,执行脚本 Xcode目录: Xcode_xx.x.xip watchOS_xx.x_Release_Candidate_Simulator_Runtime.dmg iOS_xx.x_Release_Candidate_Simulator_Runtime.dmg ...
Apple_Xcode_8.3.3_for_for_macOS_10.12_and_later.part5_Downloadly.ir.rar
Xcode Command Line Tools, 安装Homebrew必备,无法使用命令安装时可用安装包安装
Hardware_IO_Tools_for_Xcode_7.3.dmg
Additional_Tools_for_Xcode_12,适用于安装macOS Xcode附加应用