4Manuals

  • PDF Cloud HOME

在Android Studio 3.5.3中使用Github克隆项目后,为什么本地内容与远程内容不同? Download

    Android Studio:向只读文件添加注释 如何将MongoDb Stitch连接到Android Studio 关于与kieworkbench和ci / cd集成的github集成 合并冲突变基 SVG文件在表格布局中移到屏幕上方 @SuppressLint(“ CheckResult”)似乎不起作用 从Github / Gitlab为PHP文件创建更新功能 如何检查功能分支的创建日期以及在git中从哪个分支创建的? 转到Github页面时Jekyll代码未正确构建 如何从GitHub Actions运行Tox

我从Android Studio 3.5.3中的https://github.com/syslogic/camera-samples/tree/1.0.0-alpha08用Github克隆了一个项目。

Web URL为https://github.com/syslogic/camera-samples.git

我很奇怪为什么本地内容与远程内容不同。

远程内容位于https://github.com/syslogic/camera-samples/blob/1.0.0-alpha08/CameraXBasic/app/build.gradle

远程代码为def camerax_version = "1.0.0-alpha08",您可以看到图片1。

本地代码为def camerax_version = "1.0.0-alpha06",您可以看到图片2。

我怎么了?

图片1

enter image description here

图片2

enter image description here

1 个答案:

答案 0 :(得分:1)

您如何获得存储库?我怀疑是

git clone https://github.com/syslogic/camera-samples.git

,您获得了 master 分支。在master中的code is def camerax_version = "1.0.0-alpha06"

要转到分支1.0.0-alpha08,您需要切换branches:

git checkout 1.0.0-alpha08

或Android Studio中的等效版本。



Similar searches
    cpu使用情况图表未使用php和google chart API显示 Samsung RS2555 Refrigerator User Manual 并行执行Selenium测试时,Chrome浏览器卡住了 DB2执行不相关查询的时间过长 jvisualvm找不到Java安装