使用 git 后,您对 git 的优缺点是什么? [英] What are your pros and cons of git after having used it?

查看:23
本文介绍了使用 git 后,您对 git 的优缺点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在使用 SVN,过去我也使用过 CVS 和 VSS.SVN 是我目前最喜欢的书籍,但我听说了很多关于 git 的内容.在使用过 git 的人中,您的经验有哪些优点和缺点?

I'm using SVN right now, and I've used CVS and VSS in the past. SVN is the current favourite in my books, but I've been hearing a lot about git. Of the people that have used git, what are the pros and cons from your experience?

推荐答案

我没有很多的 git 经验,但是:

I don't have a lot of experience with git, but:

优点:

  • 真的很快
  • 本地提交摇滚
  • 快速启动新存储库(无需配置等)
  • github 易于使用

(除了能够拥有本地存储库并推送到公共存储库之外,我还没有真正需要"事物的分布式方面.)

(I haven't really "needed" the distributed side of things yet, beyond being able to have a local repository and push to a public one.)

缺点:

  • Windows 支持仍然落后,我相信 - 而且您不能只从普通的命令提示符中使用它
  • 缺乏 IDE 和 Explorer 集成
  • 我花了一段时间才找到符合红豆书的很好的介绍性文字.
  • 事实上,添加"一个更改的文件只会在那个时间点添加内容(因此它可以显示为提交的暂存并且仍然有需要另一个git add的修改) 花了一段时间才掌握
  • Windows support is still lagging behind, I believe - and you can't just use it from a normal command prompt
  • Lack of IDE and Explorer integration
  • It took me a while to find a good introductory text along the lines of the redbean book.
  • The fact that "adding" a changed file only adds the contents at that point of time (so it can show up as staged for commit and still have modifications which require another git add) took a while to grasp

这篇关于使用 git 后,您对 git 的优缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆