Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xcode git分支提交未合并到主节点_Xcode_Git_Github_Core Data - Fatal编程技术网

Xcode git分支提交未合并到主节点

Xcode git分支提交未合并到主节点,xcode,git,github,core-data,Xcode,Git,Github,Core Data,在git窗口中,我执行了以下命令: git branch master *wcopy git commit -am "modified provider features" On branch wcopy Your branch is up to date with 'origin/wcopy'. nothing to commit, working tree clean git merge wcopy Already upto date git push origin master

在git窗口中,我执行了以下命令:

git branch 
master
*wcopy

git commit -am "modified provider features"
On branch wcopy
Your branch is up to date with 'origin/wcopy'.

nothing to commit, working tree clean

git merge wcopy
Already upto date

git push origin master
Everything up-to-date
我转到git hub存储库 分行行长说: 最近一次提交是在9天前

wcopy分支机构表示: 该分支向前2次提交,向后5次提交。 18分钟前最新提交的db8bdca

我查过了brnach的密码是最新的 但师父在后面

我通过git命令合并到master中,但它仍然显示了两个单独的分支,其中master在wcopy后面

(1) 我怎样才能让师父了解最新情况? (2) 此外,我在源代码中将文件DB/Model.xcdatamodeld重命名为Model.xcdatamodeld。 但是wcopy分支将路径显示为 DB/Model.xcdatamodeld/GridModel.xcdatamodel 表示此路径跳过空目录。 如果我查看源代码上的实际代码,它会正确地将路径显示为DB/Model.xcdatamodeld 我不知道为什么会有不同

我通过git命令合并到master中,但它仍然显示了两个单独的分支,其中master在wcopy后面

当你这么做的时候:

git merge wcopy
您将
wcopy
合并到自身中,
wcopy
分支,当然没有做任何事情。您应该先切换到
master
分支,然后进行合并:

git checkout master
git merge wcopy
# resolve possible merge conflicts...
git push origin master
我通过git命令合并到master中,但它仍然显示了两个单独的分支,其中master在wcopy后面

当你这么做的时候:

git merge wcopy
您将
wcopy
合并到自身中,
wcopy
分支,当然没有做任何事情。您应该先切换到
master
分支,然后进行合并:

git checkout master
git merge wcopy
# resolve possible merge conflicts...
git push origin master
而不是这样做:

git merge wcopy
git pull origin wcopy
# to make sure you are up to date on wcopy branch
git checkout master
# to have your master branch up to date with the remote.
git pull origin master
git merge wcopy
# resolve possible merge conflicts if any.
git push origin master
通过这样做,您可以将
wcopy
合并到自身中(这不是您所需要的)。您应该切换到
master
分支,然后执行以下操作将合并的
wcopy
分支复制到
master

git merge wcopy
git pull origin wcopy
# to make sure you are up to date on wcopy branch
git checkout master
# to have your master branch up to date with the remote.
git pull origin master
git merge wcopy
# resolve possible merge conflicts if any.
git push origin master
这将解决您的所有问题,并将分支
wcopy
master
合并,而不是执行以下操作:

git merge wcopy
git pull origin wcopy
# to make sure you are up to date on wcopy branch
git checkout master
# to have your master branch up to date with the remote.
git pull origin master
git merge wcopy
# resolve possible merge conflicts if any.
git push origin master
通过这样做,您可以将
wcopy
合并到自身中(这不是您所需要的)。您应该切换到
master
分支,然后执行以下操作将合并的
wcopy
分支复制到
master

git merge wcopy
git pull origin wcopy
# to make sure you are up to date on wcopy branch
git checkout master
# to have your master branch up to date with the remote.
git pull origin master
git merge wcopy
# resolve possible merge conflicts if any.
git push origin master

这将解决您的所有问题,并将分支
wcopy
master

合并。git merge wocpy会出现一系列错误:(1)警告:无法合并二进制文件;(2)在某些其他文件上自动合并会产生冲突(内容):合并冲突。他们说自动合并失败了;修复冲突,然后提交结果。从命令工具我运行git mergetool:在xcodeproj/project.pbxproj文件上打开一个包含多个窗口的UI。我不明白发生了什么现在我试图打开xcode项目,它说无法打开,因为项目文件无法解析。我现在遇到了很大的麻烦,请仔细阅读关于如何解决与二进制文件的冲突的内容,并了解如何使用合并工具git merge wocpy给出了一系列错误:(1)警告:无法合并二进制文件,(2)在其他一些文件上自动合并会产生冲突(内容):合并冲突。他们说自动合并失败了;修复冲突,然后提交结果。从命令工具我运行git mergetool:在xcodeproj/project.pbxproj文件上打开一个包含多个窗口的UI。我不明白发生了什么现在我试图打开xcode项目,它说无法打开,因为项目文件无法解析。我现在遇到了很大的麻烦,请仔细阅读关于如何解决与二进制文件冲突的内容,并了解如何使用mergetool。现在我尝试打开xcode项目,它说无法打开,因为无法解析项目文件。由于上述原因,我现在陷入了困境。我去了github,它说这个分支机构落后了6个月master@vrao这听起来可能是一个完全不同的问题。在这种情况下,您可能需要打开一个新问题。现在我尝试打开xcode项目,它说无法打开,因为无法解析项目文件。由于上述原因,我现在陷入了困境。我去了github,它说这个分支机构落后了6个月master@vrao这听起来可能是一个完全不同的问题。在这种情况下,您可能需要打开一个新问题。