git提取和拉取区别_git – 在BitBucket SourceTree中检出,提取和拉取

使用

Atlassian’s Git tutorial(链接更新)作为参考。

Git检出:

The git checkout command lets you navigate between the branches

created by git branch. Checking out a branch updates the files in the

working directory to match the version stored in that branch, and it

tells Git to record all new commits on that branch. Think of it as a

way to select which line of development you’re working on.

Source: 07001

Git pull:

You can think of git pull as Git’s version of svn update. It’s an easy

way to synchronize your local repository with upstream changes. The

following diagram explains each step of the pulling process.

Source: 07002

Git fetch:

The git fetch command imports commits from a remote repository into

your local repo. The resulting commits are stored as remote branches

instead of the normal local branches that we’ve been working with.

This gives you a chance to review changes before integrating them into

your copy of the project.

Source: 07003

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值