开发者社区> 问答> 正文

git开源社区 代码托管:报错

我在 开源中国代码托管上面有个项目  怎么用 sourcetree  把代码拉下来 啊 老是提示  无效的url

展开
收起
kun坤 2020-06-07 22:44:55 754 0
1 条回答
写回答
取消 提交回答
  • @moli
    ######

    你这涂抹的,我都看不出来你填写的啥。留言发给我你填写的clone地址呀

    ######

    引用来自“moli”的评论

    你这涂抹的,我都看不出来你填写的啥。留言发给我你填写的clone地址呀

    地址就是https://git.oschina.net/407082303/IOS_Project.git######就是内置git或者自行安装的git,使用版本比较新的,试试看######还有就是确保你的mac有安装git(推荐1.8版以上),然后设置 -》 git -》 内置git的版本至少1.8版######我这里clone没问题啊, 跟你一样的软件######

    引用来自“moli”的评论

    你这涂抹的,我都看不出来你填写的啥。留言发给我你填写的clone地址呀

    引用来自“环知”的评论

    地址就是https://git.oschina.net/407082303/IOS_Project.git
    你可以 把代码拉下来嘛 ? 我这过程 会提示我 输入密码 ######我可以拉取代码的,如果你是https,肯定会提示输入用户密码的,因为你的是私有项目。如果想不用密码,那么可以ssh拉取代码,不用输入帐号密码。只要在你的git@osc的帐号中添加你的电脑公钥即可######

    引用来自“moli”的评论

    你这涂抹的,我都看不出来你填写的啥。留言发给我你填写的clone地址呀

    引用来自“环知”的评论

    地址就是https://git.oschina.net/407082303/IOS_Project.git

    好的  我检查下 


    ######

    引用来自“moli”的评论

    你这涂抹的,我都看不出来你填写的啥。留言发给我你填写的clone地址呀

    引用来自“环知”的评论

    地址就是https://git.oschina.net/407082303/IOS_Project.git

    引用来自“环知”的评论

    你可以 把代码拉下来嘛 ? 我这过程 会提示我 输入密码
    还是不行。。。 ######

    abort: HTTP Error 404: Not Found

    fatal: Not a git repository (or any of the parent directories): .git

    2015-05-27 12:57:30.927 git-credential-sourcetree[23005:207451] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.

    fatal: Authentication failed for 'https://git.oschina.net/407082303/IOS_Project/'

    2015-05-27 12:57:37.187 git-credential-sourcetree[23016:207537] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.

    fatal: Authentication failed for 'https://git.oschina.net/407082303/IOS_Project/'

    2015-05-27 12:57:42.489 git-credential-sourcetree[23027:207582] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.

    fatal: Authentication failed for 'https://git.oschina.net/407082303/IOS_Project/'

    2015-05-27 12:57:47.855 git-credential-sourcetree[23040:207632] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.

    fatal: Authentication failed for 'https://git.oschina.net/407082303/IOS_Project/'

    ######没问题了~######是什么导致的呢?
    2020-06-07 22:45:02
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
打造支撑百万用户的分布式代码托管平台 立即下载
卓越三项——阿里巴巴代码托管平台技术揭秘 立即下载
最大化阿里云OpenAPI能力的方法和实践 立即下载