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
Once Upon an Algorithm

Once Upon an Algorithm

Martin Erwig / MIT Press / 2017-9-8 / GBP 22.95

How Hansel and Gretel, Sherlock Holmes, the movie Groundhog Day, Harry Potter, and other familiar stories illustrate the concepts of computing. Picture a computer scientist, staring at a screen and......一起来看看 《Once Upon an Algorithm》 这本书的介绍吧!

随机密码生成器

随机密码生成器

多种字符组合密码

UNIX 时间戳转换

UNIX 时间戳转换

UNIX 时间戳转换

RGB HSV 转换

RGB HSV 转换

RGB HSV 互转工具