What is a version control system? How is Git useful?

后端 未结 4 1093
忘掉有多难
忘掉有多难 2020-12-12 03:21

like for example i am doing ruby on rails and using git for version control.

4条回答
  •  离开以前
    2020-12-12 04:02

    The best part about Git is unlike other source control systems, Git can work offline. Doesn't matter whether you are on a plane or at home or some distant place with no connectivity. You can still commit changes to your local git repository & push it to centralized server (if you have one) when you are connected. One more thing which makes Git very powerful is 'Branches'. If you want to do a bug fix or want to try something new without harming your current working code, just create a branch & work on it. When things ae working fine in your branch, you can merge it to the master branch.

    I would say Git provides more flexibility than anything other SCM.

提交回复
热议问题