前面提到在创建项目时,勾选和未勾选初始化存储库,会有不同的页面效果。如果未勾选初始化存储库,那么代码仓页面将这样显示:
此时,页面上提示你可以通过HTTPS和SSH两种方式克隆此项目。在克隆之前,首先,在本地新建一个空白文件夹,右键选择【Git Bash Here】弹出DOS窗口
回到代码仓页面,点击HTTPS,点击右侧图标复制链接,
回到DOS窗口,输入git clone 后按Shift+Insert粘贴链接
点击Enter键进行克隆,此时项目就成功被克隆到本地啦
由于已经配置过公钥,所以直接在页面上点击SSH后,复制链接,
回到DOS窗口,输入git clone 后按Shift+Insert粘贴链接
按Enter键进行克隆
此时,我们的项目就成功克隆到本地啦。
如果你在创建项目时,勾选初始化存储库,那么代码仓页面将这样显示,此时HTTPS和SSH的链接在页面右侧,我们可以参考上述方式,通过输入命令git clone加相应链接进行克隆项目。
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》