git 适合一个没有服务器的开发人员吗
我是一名单身开发人员,没有另一台计算机来备份我的项目。我正在研究源代码控制,并且遇到了 git,但所有设置教程都针对外部服务器。我曾经使用 SourceGear Vault,但是看到 git 受到了很多关注,我可能会这样做很好地熟悉它。我并不总是可以访问互联网。
Git 适合我吗?可以为我指明正确的方向来设置它吗?
- Visual Studio 2008。Windows
- 7。
I am a single developer without another computer to backup my projects on. I'm looking into source controls and I came across git but all the setup tutorials are targeted to an external server. I used to use SourceGear Vault, but seeing that git is getting alot of attention, I might as well familiarize myself with it. I do not always have internet access.
Is Git suitable for me? Can I be pointed in the right direction to set it up?
- Visual Studio 2008.
- Windows 7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
那里有免费的私人安全 Git 存储库。我写了一篇关于使用 Project Locker 在 Windows 上进行此设置的教程。请参阅 Windows Git 教程:Cygwin、SSH 和 Projectlocker 。
DVCS(包括 Git、Mercurial 等)绝对适合一名开发人员使用,因为它们可以轻松保留多个备份存储库,以防万一发生绝对灾难。
如果您想走这条路,还值得一提 Joel 的 Hg Init:Mercurial 教程。
There are free private secure Git repositories out there. I wrote a tutorial on getting this set up on Windows with Project Locker. See Windows Git Tutorial: Cygwin, SSH and Projectlocker.
DVCSs (including Git, Mercurial, etc) are absolutely suitable for use by even one developer as they make it easy to keep multiple backup repositories, which you should in the case of absolute disaster.
It's also worth mentioning Joel's Hg Init: a Mercurial tutorial if you want to go that route.
是的。
另一个教程让 git 在 Windows 上运行。
其他可行的选择是 mercurial。有一本关于它的优秀书 - 全部可用在线的
Yes.
Another tutorial to get git running on windows.
Other viable option is mercurial. There is an excellent book about it - all available on-line
我将 git 用于多个私有存储库。太棒了。如果您有 Visual Studio Professional(不是免费的 Express 版本),我推荐免费的 Git Extensions 包将 git 直接集成到 Visual Studio 和 Windows 资源管理器中。它包含 git,因此您无需安装其他任何东西。
如果您有免费的 Visual Studio Express 版本,您仍然可以安装 Git 扩展,但您将无法获得很好的 Visual Studio 插件,因为 Visual Studio Express 不支持扩展。 Windows 资源管理器扩展仍然有效。
如果你是一个 unixy 类型的人,cygwin 很棒,并且有一个命令行版本的包git 的。
I use git for several private repositories. It's wonderful. If you have Visual Studio Professional (not the free Express version), I recommend the free Git Extensions package that integrates git directly into Visual Studio and Windows Explorer. It includes git, so you won't need to install anything else.
If you have the free Express version of Visual Studio, you can still install Git Extensions, but you won't get the nice Visual Studio plugin since Visual Studio Express doesn't support extensions. The Windows Explorer extensions will still work.
If you're a unixy kind of guy, cygwin is great and has a package for the command-line version of git.
git
非常适合单个开发人员(我一直使用它)。它不仅用于备份,还用于分发、更干净的源代码,此外,当您想与其他人协作时,它会让您变得更容易。git
is quite appropriate for a single developer (I use it all the time). It is not only for backup, but for distribution, cleaner source code, plus, it will make it easier when you want to collaborate with someone else.当然,源代码控制不仅仅是允许多人参与一个项目。
我所有的个人项目都使用 git。
Absolutely, source control is not just about allowing multiple people to work on a project.
I use git for all my personal projects.