Git pull 命令

更新时间: 2019-07-13 17:17

git-pull - Fetch from and integrate with another repository or a local branch

语法

git pull [options] [<repository> [<refspec>...]]

参数

-q, --quiet
    This is passed to both underlying git-fetch to squelch reporting of during transfer, and underlying git-merge to squelch output
    during merging.

-v, --verbose
    Pass --verbose to git-fetch and git-merge.

--[no-]recurse-submodules[=yes|on-demand|no]
    This option controls if new commits of all populated submodules should be fetched and updated, too (see git-config(1) and
    gitmodules(5)).

    If the checkout is done via rebase, local submodule commits are rebased as well.

    If the update is done via merge, the submodule conflicts are resolved and checked out.

使用示例

# 取回远程仓库的变化,并与本地分支合并
$ git pull [remote] [branch]

查看更多 git pull 命令的使用方法,可以使用命令:

git help pull
The Four

The Four

Scott Galloway / Portfolio / 2017-10-3 / USD 28.00

NEW YORK TIMES BESTSELLER USA TODAY BESTSELLER Amazon, Apple, Facebook, and Google are the four most influential companies on the planet. Just about everyone thinks they know how they got there.......一起来看看 《The Four》 这本书的介绍吧!

JS 压缩/解压工具

JS 压缩/解压工具

在线压缩/解压 JS 代码

JSON 在线解析

JSON 在线解析

在线 JSON 格式化工具

正则表达式在线测试

正则表达式在线测试

正则表达式在线测试