Comparing the pros and cons of Bitbucket to Github [closed]

我的梦境 提交于 2019-12-20 10:58:50

问题


Disclaimer: This is a subjective question. Please follow relevant guidelines.

I am considering the migration of source code from a traditional VCS to a DVCS. Since having a decent GUI web-based frontend and workflow tools are a must, the two obvious candidates are Bitbucket and Github.

Unfortunately I have no in-depth experience with either of them, so I'd really like to have a few second opinions before taking the dive. Especially welcome would be observations from a team/business perspective regarding day-to-day usage and features that have an impact on productivity.

What is Your experience with either of them? Any particular highlights or annoyances?


回答1:


You really need to answer a basic question first. Do you want to use Mercurial or Git. I had to make this decision earlier this year. Mercurial was by far easier to setup and start using. I ultimately chose Git for the following reasons:

  • Most OpenSource Projects are moving from SVN to Git
  • Git allowed the most flexibility in whatever I wanted to do. (This is the main reason)
  • Third-party integration

If your business might need complicated version control processes go with Git. The learning curve is steep but it will be easier to do what you really want at the end of the day. I will qualify what I mean by 'steep'. The difference between teaching someone Mercurial vs. Git, is trying to get a Windows user to learn Linux command lines.

If you want a quick easy to use DVCS in which you think simple branching and versioning is all you will ever need, don't kill yourself with Git, use Mercurial. But keep in mind most people you talk to in Mailing lists, IRC, etc. will have experience with Git not Mercurial.

If you plan on paying for GitHub or BitBucket, I suggest you also look at Kiln. FogCreek has made mercurial even easier.




回答2:


if you are new to them both then it depends on what you need. a free github account doesn't include any private repositories whereas bitbucket free account gives you unlimited private repositories.

this was the selling thing for me - I didnt want to initially pay for github as i was trialing it but i didnt want me code to be free for all as it was commercial. This lead me to choose bitbucket

I now use both (github for my OSS products and bitbucket for more locked down code) but I am moving my entire team away from SVN to mercurial as it was a simplier step to go to that git. From personal experience, it was easier to get to grips with Hg initially before git when I was using a DVCS for the first time. It didnt require the complex git install and could be used from within the windows cmd or powershell windows




回答3:


Atlassian is doing a great job improving Bitbucket since they aquired it. They are a company with a great product portfolio for software development/project management tooling. I think from a business perspective, that might be something to consider, especially if you use their tools already.




回答4:


As already mentioned the difference between the options you mention is really git vs. Mercurial. This cannot be stressed enough.

git is a tool written by exceptional programmers for their personal needs. They want to be able to do exceptionally advanced things, they are confident that they know what they are doing.

If your organization does not only employ exceptional programmers, expect high costs for learning, trouble shooting and frustrated people discussing in the coffee room when using git.

Mercurial gives you 80% of the functionality for 20% of the effort compared to git. (Hmm, such claims might be close to violate Stackexchange policies, I have no real statistical evidence behind these numbers)

For the average programmer the functionality of git and Mercurial are very close to each other. For some special cases git might be superior even from business perspective. If they apply to you, I assume you have git experts in you organization already. If they can convince you, go for it.

I cannot comment about the service quality of the hosters you mention.

Disclaimer: Yes, I do use git and I do like it in certain aspects.



来源:https://stackoverflow.com/questions/7024483/comparing-the-pros-and-cons-of-bitbucket-to-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!