zl程序教程

您现在的位置是:首页 >  其他

当前栏目

google colab中使用git clone导入代码至google drive

Google导入Git代码 clone 使用 Drive
2023-09-14 09:14:57 时间

本质来说就是切换到drive路径然后git clone完事

from google.colab import drive
import os
os.chdir("/content/drive/My Drive/gitClone")
drive.mount('/content/drive')
%ls
# !mkdir gitClone
!git clone https://github.com/wjyzhixing/react-records