将 Gist 仓库转移到 github [英] Transfer gist repo to github
本文介绍了将 Gist 仓库转移到 github的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在做一个带有 Gist 的小项目,由于它在不断发展,我想把它放在 github 上.
假设:
- 我的 Gist 存储库位于:
I am working on a small project with gist and since it is growing I would like to put it on github.
Let's suppose that:
- my gist repo is at: https://gist.github.com/1234
- my new (empty) repo is at: https://github.com/ChrisJamesC/myNewProject
The ideal solution would be one that pushes my changes on both the gist and the github repository.
解决方案Github now has a new feature - import from another repository. So the steps are much simplified:
- Use the import feature and specify the URL of the repository.
- Profit!
Update:
You don't have to create a repo. The + button in the top right corner now has 'Import Repository' as an option.
这篇关于将 Gist 仓库转移到 github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文