xcode提交版本时提示The working copy "MyPro" failed to commit files.解决方法
来源:互联网 发布:广州汇丰软件 编辑:程序博客网 时间:2024/05/22 13:11
在使用Xcode提交代码,commit到github/coding这类管理网站的时候,有时会遇到这样的问题:
像这样点击Commit 1File以后
会弹出一个窗口,如下
—如果遇到此类问题,进行如下操作即可解决
1.打开终端,进入自己的项目下,有个.git目录
命令:
cd ~/MyPro/.git
vi config
【或者】输入如下命令,获得隐藏文件夹:
- 显示隐藏文件命令:defaults write com.apple.finder AppleShowAllFiles -bool true
- 隐藏文件命令:defaults write com.apple.finder AppleShowAllFiles -bool false
-》我习惯用后者~
2.找到.git文件中的config文件,点开后添加以下两行:
[user]
email = yourname@me.com
name = your name
如图:
到这里就可以了
关闭文件,重新打开一下项目,就能够继续commit了
-》
<欢迎大家提问和补充>
0 0
- xcode提交版本时提示The working copy "MyPro" failed to commit files.解决方法
- The working copy "MyPro" failed to commit files.
- the working copy"" failed to commit files.
- The working copy "" failed to commit files
- The working copy “***” failed to commit files.
- the working copy"" failed to commit files. 不能COMMIT
- svn无法提交问题,The working copy failed to commit files
- The working copy"XXX" failed to commit files
- the working copy"工程名" failed to commit files.
- The working copy “XXXX” failed to commit files.
- SVN the working copy needs to be upgraded svn 低版本SVN检出代码,高版本SVN提交不了解决方法
- xcode提示: failed to get the task for process 解决方法
- 解決 Xcode 的 failed to commit files 問題
- svn提交时报错:The working copy needs to be upgraded svn: The working copy at 'E:\EcProject
- svn提交时报错: The working copy needs to be upgraded svn: Working copy 'E:\java\MyEclipse\Workspaces\fram
- KDESVN中commit时出现containing working copy admin area is missing错误提示
- SVN提交错误:working copy is not up-to-date解决方法
- SVN出现cleanup failed to process the following paths: xxx working copy " " locked, xxxx is locked
- Linux NAPI/非NAPI 网卡驱动部分
- 第二章节总结
- iOS开发总结之沙盒存储
- 百度移动SSP启动广告
- 优雅的创建一个相册管理类(兼容AssetsLibrary和PhotoKit)
- xcode提交版本时提示The working copy "MyPro" failed to commit files.解决方法
- java注解
- HDU 1001 Can you solve this equation?
- 数值算法
- BJTU 数学
- zoj 3946Highway Project(最短路改)
- 使用MobAPi获得天气数据
- 说说中断上下文的切换
- java.util包---LinkedHashMap