Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.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
Ios 从bitbucket拉入Xcode_Ios_Xcode_Git_Bitbucket - Fatal编程技术网

Ios 从bitbucket拉入Xcode

Ios 从bitbucket拉入Xcode,ios,xcode,git,bitbucket,Ios,Xcode,Git,Bitbucket,我正在使用bitbucket git存储库,这样我就可以使用iMac和Macbook了。 我的所有文件都在bitbucket存储库中,但当我打开Macbook并打开项目时,我看不到所有文件,尽管这些文件都在finder中找到 你们知道我该怎么解决吗 尊敬。只需按照bitbucket网页上的说明操作即可。如果您需要在Xcode中使用命令行git,请在终端中的任何git命令之前使用xcrun e、 g 您是先克隆存储库的吗?如果repo最初不是在Macbook上创建的,则需要首先从远程克隆;当我打开

我正在使用bitbucket git存储库,这样我就可以使用iMac和Macbook了。 我的所有文件都在bitbucket存储库中,但当我打开Macbook并打开项目时,我看不到所有文件,尽管这些文件都在finder中找到

你们知道我该怎么解决吗


尊敬。

只需按照bitbucket网页上的说明操作即可。如果您需要在Xcode中使用命令行git,请在终端中的任何git命令之前使用xcrun

e、 g


您是先克隆存储库的吗?如果repo最初不是在Macbook上创建的,则需要首先从远程克隆;当我打开Xcode时,有人问我是否想从存储库启动一个项目。我选择了是。但是,虽然所有文件都在本地文件夹中,但只显示了一些类。听起来项目文件尚未提交到repo中,因此文件存在,但您得到了项目的旧副本。在两个工作副本上运行
git status
,上面写着什么?对不起,我该怎么做。这些文件可以在bitbucket网站和my computerXcode上看到,它们只支持git中通过UI提供的一小部分命令。打开终端,
cd
到您的项目目录,然后键入
git status
xcrun git init
xcrun git status
xcrun git add.