`

What's Git?

阅读更多

参考: http://www.bitsun.com/documents/gittutorcn.htm

 

1. Git 是什么

Git 是一个版本控制工具,是用 Linux 内核开发的版本控制工具。

 

2. Git 与其他版本控制的最大差别

与常用的版本控制工具 CVS, Subversion 相比,Git 采用了分布式版本库的方式,不必服务器端软件支持,使源代码的发布和交流极其方便。

 

简单场景举例:当我们周末在家进行了代码修改后,如果用 SVN,SVN 的服务器在公司,此时在家便无法 commit,而使用 Git 则可以 commit。

 

3. Git 的优点

1) Git 的速度很快。

2) Git 具有出色的合并跟踪(merge tracing)能力。

3) Git 可以有效减少“仓库污染”。

当我们coding到一半,或者code尚未被自测调试通过,此时commit 到 SVN 等仓库时,可能会导致整个程序无法运行,如此便会影响他人工作,使用 Git,我们便可以随时commit 而不用担心此问题。

4) Git 对网络的依赖性较低。

非分布式的版本控制工具总是需要网络支持,当断网时我们便无法update、commit等,而 Git 则完美的支持我们在单机、脱机环境下仍然可以继续工作。)

 

分享到:
评论

相关推荐

    Professional.Git.epub

    Chapter 1: What Is Git? Chapter 2: Key Concepts Chapter 3: The Git Promotion Model Connected Lab 1: Installing Git PART II: USING GIT Chapter 4: Configuration and Setup Chapter 5: Getting Productive ...

    Jump.Start.Git.0994182651

    But what is it about Git that makes it mission-critical on so many web projects? Spend just one weekend with this hands-on tutorial, and you'll know the answer. Understand Git's core philosophy. Get...

    Git指令的Shell脚本

    (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: Git.sh modified: PyNote/PyNote_2.md no changes ...

    Git.Mastering.Version.Control.pdf

    By exploring advanced Git practices, you will attain a deeper understanding of Git's behavior, allowing you to customize and extend existing recipes and write your own. This Learning Path is a blend...

    pro git_中文版.pdf

    Git is the version control ... Proprietary software developers will appreciate Git’s enormous scalability, since it is used for the Linux project, which comprises thousands of developers and testers.

    Git-2.21.0-64-bit.zip

    "git tag -s". * "git multi-pack-index" learned expire and repack subcommands. * "git blame" learned to "ignore" commits in the history, whose effects (as well as their presence) get ignored. *...

    git internal

    with a section about what Git actually does, rather than how to use it. I found that I didn’t really understand Git and had many problems using it until I understood what it was actually doing at a ...

    Git Internals-eng.pdf

    Perforce or whatever SCM system they are currently using, has heard good things about Git, but doesn’t know where to start or why it’s so wonderful. It is meant to explain Git as simply as possible...

    progit-en.935

    The first edition of this book is what got me hooked on Git. This was my introduction to a style of making software that felt more natural than anything I had seen before. I had been a developer for ...

    Git Essencial 第二版 最新2017.11月

    This step-by-step guide is packed with examples to help you learn and work with Git’s internals Who This Book Is For If you are a software developer with little or no experience of versioning systems...

    Git from the Bottom Up

    In author's pursuit to understand Git, it’s been helpful for me to understand it from the bottom up — rather than look at it only in terms of its high-level commands. And since Git is so beautifully...

    Python全栈开发指南英文版 The Full Stack Python Guide to Deployments

    Python全栈开发指南英文版 The Full Stack Python Guide to Deployments Chapters Chapter 1: Introduction ...Chapter 11: What's Next? Appendices: Technical Terms, Resources and App Code Tutorial

    hook-script-runner:使用npm自动运行您的Git钩子脚本

    快速开始在现有项目中安装Hook Script Runner模块: $ npm install --save-dev hook-script-runner 在您的package.json文件中添加一些命令: { "hooks": { "commit-msg": "echo 'What would Tim Pope do?'", "pre-...

    mybatis-3.4.2.pdf

    Sources of this manual are available in xdoc format at project's Git Fork the repository, update them and send a pull request. You’re the best author of this documentation, people like you have to ...

    The Full Stack Python Guide to Deployments

    Chapters Chapter 1: Introduction Chapter 2: Servers (Linode) Chapter 3: Operating Systems (Ubuntu) Chapter 4: Web Servers (Nginx) Chapter 5: Source control (Git) ...Chapter 11: What's Next?

    Daniel Arbuckle's Mastering Python【含代码】

    Use the Git version control system to protect your development environment from unwanted changes Harness the power of Python to automate other software Distribute computation tasks across multiple ...

    Introducing.GitHub.A.Non-Technical.Guide

    If you’re new to GitHub, this concise book shows you just what you need to get started and no more. It’s perfect for project and product managers, stakeholders, and other team members who want to ...

    sumy:用于自动汇总文本文档和HTML页面的模块

    $ sumy lex-rank --length=10 --url=http://en.wikipedia.org/wiki/Automatic_summarization # what's summarization?$ sumy luhn --language=czech --url=http://www.zdrojak.cz/clanky/automaticke-zabe

    life-after-dev:2020年全日制冬季项目的最终投资组合项目

    在database.yml中,将数据库what_ever_you_named_your_start_project的名称更改为project-name rails db:create db:migrate db:seed rails s -p 3001 cd client && yarn yarn start 处理git 删除原点git ...

    dpl_has_many_through_hwr:DPL作业复习-has_many_through

    在database.yml中,将数据库what_ever_you_named_your_start_project的名称更改为project-name rails db:create db:migrate db:seed rails s -p 3001 设置客户端的步骤 cd client && yarn yarn start 处理git ...

Global site tag (gtag.js) - Google Analytics