我可以在没有 github 的情况下使用 git 版本控制应用程序吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12381864/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can i use git version control application without github?
提问by Salsan Jose
Possible Duplicate:
Is there a commercial grade Git server product
Is there a Github clone that I can run on my own server?
Can i use Git without GitHub's service? What i mean is, i am only the person working on the project and don't want to push the project into the Git space. What do you think? Will this be a right decision? Or is there any lite github like server application available for internal use? Please share your thoughts.
我可以在没有 GitHub 服务的情况下使用 Git 吗?我的意思是,我只是项目的工作人员,不想将项目推入 Git 空间。你怎么认为?这会是一个正确的决定吗?或者是否有任何 lite github 之类的服务器应用程序可供内部使用?请分享您的想法。
采纳答案by ikuramedia
Yes, git is independent of GitHub. If you push your source to GitHub the with a free account your project will need to be 'public' meaning anyone can read it. Other companies offer free private git repositories (I use Assembla
). But you can actually use git without any server as well, to maintain local version control. This is definitely good practice anyway. A server would give you the added advantage of off site backup.
是的,git 独立于 GitHub。如果您使用免费帐户将源代码推送到 GitHub,则您的项目需要是“公开的”,这意味着任何人都可以阅读它。其他公司提供免费的私有 git 存储库(我使用Assembla
)。但实际上您也可以在没有任何服务器的情况下使用 git 来维护本地版本控制。无论如何,这绝对是一个好习惯。服务器将为您提供异地备份的额外优势。
回答by lzcd
I use version control irrespective of whether I share it with the likes of GitHub.
无论我是否与 GitHub 之类的人共享它,我都使用版本控制。
Version control for me means more than just offsite back up.
对我来说,版本控制不仅仅意味着异地备份。
It means I'm able to experiment with any and all of my ideas (and the subsequent code) without fear of losing anything (at least in terms of stuff on my machine in this scenario) and can always branch or roll back depending on what's needed.
这意味着我能够试验我的任何和所有想法(以及随后的代码)而不必担心丢失任何东西(至少在这种情况下我机器上的东西)并且总是可以根据什么进行分支或回滚需要。
回答by AGo
You can pass through http://githowto.com/, to gain basic GIT skills
你可以通过http://githowto.com/,获得基本的 GIT 技能
回答by sylvain.joyeux
In general, if you work in teams, having a github-like functionality is really nice (but not strictly necessary)
一般来说,如果你在团队中工作,拥有类似 github 的功能真的很好(但不是绝对必要的)
gitoriousis a an open-source github-like (but will a lot less functionality) server application that you can install in-house. github also has this option, but it costs a lot.
gitorious是一个开源的类似 github(但功能会少很多)的服务器应用程序,您可以在内部安装它。github 也有这个选项,但是成本很高。