Git简介

Git is a free and open source distributed version control system

About

Branching and Merging

Branching model: multiple local branches; creation, merging, deletion

  • Frictionless context switching: switch between different branches
  • Role-Based Codelines: goes to work, testing, day to day work
  • Feature based workflow: new branches for new features
  • Disposable Experimentation: just delete experimental branch

Do not have to push all of your branches, can choose to share just one of your branches, a few of them, or all of them.

Small and Fast

  • nearly all operations are performed locally
  • work on the Linux kernel
  • written in C

Git is one or two orders of magnitude faster than SVN

Distributed

do a “clone” of the entire repository

  1. Multiple backups
  2. Any workflow
    Subversion-Style Workflow (centralized)
    Integration Manager Workflow
    Dictator and Lieutenants Workflow

Data Assurance

Staging Area

[working directory] -> (git add) -> [staging area] -> (git commit) -> [repository]

  • cna stage only portions of a modified file
  • git commit -a : add and commit all changes

Free and Open Source

GPL v2

Trademark

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值