简体   繁体   English

将现有的git repo导入到Assembly中

[英]Importing existing git repo into assembla

Currently I have an website on a .zip file containing also the .git directory and all the history. 目前,我在.zip文件上有一个网站,其中还包含.git目录和所有历史记录。 I want it to be imported into an Assembla git repository preserving the history of all previous changes. 我希望将其导入保留所有以前更改历史的Assembla git存储库中。 Is there an easy way of doing it? 有一个简单的方法吗?

extract your zip, navigate to it in your shell, and do git push <git assembla url> : . 提取您的zip,在您的shell中导航到它,然后执行git push <git assembla url> : this should push all the refs to the new assembla repo. 这应该将所有引用推送到新的Assembla存储库中。

If you cannot push to an assembla repo, check your ssh keys, like in this thread . 如果您无法推送到Assembla Repo,请像在此线程中一样检查您的ssh键。

ssh -v git@git.assembla.com

And see if there was not too much login errors in your tries: 并查看您的尝试中是否没有太多的登录错误:

Your IP was added to blacklist due login failure to our server. 由于无法登录我们的服务器,您的IP已添加到黑名单中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM