search

Home  >  Q&A  >  body text

The difference between git, github, and svn.

I am a novice, so I would like to thank all the experts in advance.
Is there any difference between installing git and github on win10? After searching online, I am still very confused.
What is the function of installing only one of them? What are the features of installing both together?
I want to write code locally and then deploy it to github. Should it be git or github?
What is the relationship between git and svn, and what can they do?

Thank you!

phpcn_u1582phpcn_u15822790 days ago1562

reply all(8)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:52:32

    Git is a version management system, and github is a website. To put it simply, it is a bit like the relationship between Coke and Coca-Cola. The latter is a relatively famous implementation of the former. Generally, git is a core program and must be installed, but github can be installed or not. If not, you can also use other programs to achieve its functions (git comes with a bash command line and a visualization that is so crude that it might as well disappear. Interface program); if it is installed, it will be more convenient when using github.

    Git and svn are both version management systems. The difference is that git is that each client has a set of version libraries. Everyone can synchronize with each other when they are online, and they can also play with each other when they are offline (each person can have a version branch like this) (Play), at worst, just resynchronize it when it goes online; SVN must have a core version hosting server, and it must be synchronized with it. Once it goes offline, everyone will basically be useless. In addition, svn mode can be deployed on git, but svn cannot use git...

    If you are a beginner, you can register a github account and upload some small things to play, but you need to be reminded that there are only public projects, and private projects cost money; in addition, I personally recommend the domestic Coding.net, which is in Chinese and has help. It is also very comprehensive. In addition, it has free private projects, which are more suitable for getting started. In addition to installing git on this machine, editors generally have native support for git or plug-ins, which you can search for. You can also install TortoiseGIT, although It is an English software but it is free and has a Chinese language pack. The graphical interface is relatively easier to use.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:52:32

    Git and svn are both project management tools. Github is based on git and is a huge open project library.
    For example, you can build a git warehouse on the server yourself, and then use git to upload your project. To upload your project to github, you need to install git on your computer
    Tutorial:

    reply
    0
  • 迷茫

    迷茫2017-05-02 09:52:32

    git and svn are version control tools.
    github is a source code hosting website. It has a github tool for easy operation. This is optional and there is no need to install it.
    Use git to push to github.
    You don’t have to go to github to use git, it is available locally and the complete warehouse is saved.
    Similar to github are gitlab, bitbucket, etc. In China, there are coding.net, etc. You can also build your own. For example, available website systems include gitlab, gitbucket, etc.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:52:32

    Git is a version control tool, at the same level as svn.
    Github is just a website that uses git technology. They have no fundamental relationship at all

    reply
    0
  • 阿神

    阿神2017-05-02 09:52:32

    1. Git branches can control branch merging, etc. The key is to have a github open source website. . .

    2. svn has few functions, is easy to use, and can restore a single file. The key is that he didn't build a website, git understands the market. . .

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:52:32

    Git and svn are both version management tools, and github is a code hosting website.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-02 09:52:32

    Git and svn are almost the same thing.
    However, git is distributed and relatively powerful and easy to use.
    Github is the remote implementation of the warehouse in git.
    It’s similar to a network disk or remote ftp.
    Example: git is like window, svn is like linux, and github is a Western Digital hard drive.

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-02 09:52:32

    Git and SVN are the same type of tools, used to manage source code, not the same thing. Git does not need to synchronize the server and can only be used locally. SVN has never been heard of without synchronizing to the server.
    Git is a tool, and Github is based on Git-based services are called source code hosting websites.
    Putting code to Github is not called "deployment", it is just called hosting.
    Git must be installed locally to use the github service

    reply
    0
  • Cancelreply