在Matlab代码中克隆GitHub存储库

问题描述

我正在服务器上运行代码,所以我想在主文件中MATLAB的命令行中克隆我的github存储库。我在Python中这样做:

    user = input('enter GitHub username: ')
    password = getpass('password: ')
    os.environ['git_user'] = user + ':' + password
    
    !git clone https://$git_user@github.com/xxx/mydir
    
    sys.path.append('mydir')

,然后从那里的mydir导入文件夹。有这个的MATLAB版本吗?谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)