如何在sneakernet环境中使用Git? [英] How to use Git in a sneakernet environment?
问题描述
我的问题是如何最好地使用Git来管理sneakernet项目办公室PC和测试PC之间的文件传输(或回购,或什么?)。这不是一般的'使用案例',通常为笔记本电脑用户'脱网'和在一些角落咖啡厅开发,后来重新回到网络上。
有没有人在这种情况下获得经验?
另请参阅 git bundle create --all 答案转移完整的回购
使用Git与未连接的计算机很容易,使用 git bundle
。
它的手册页。
My project has a number of test PCs which are 100% off-net. We use a USB drive to transfer files too and from these PCs. Some development happens during the tests on those PCs. We transfer zips of the updated files, with the 'version info' coded in the name of the zip file.
My question is how best to use Git for managing the sneakernet transfer of files (or repos, or what?) between the project's office PCs and the test PCs. It's not the normal 'use case' that is often presented for laptop users being 'off-net' and developing in some corner cafe, and later getting back on net.
Has anyone got experience in such scenarios?
Also see the git bundle create --all answer to transfer a complete repo
Using Git with unconnected computers is easy with git bundle
.
See its man page.
这篇关于如何在sneakernet环境中使用Git?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!