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
代码整洁之道

代码整洁之道

马丁 / 人民邮电出版社 / 2011-1 / 59.00元

《代码整洁之道(英文版)》提出一种观念:代码质量与其整洁度成正比。干净的代码,既在质量上较为可靠,也为后期维护、升级奠定了良好基础。作为编程领域的佼佼者,《代码整洁之道(英文版)》作者给出了一系列行之有效的整洁代码操作实践。这些实践在《代码整洁之道(英文版)》中体现为一条条规则(或称“启示”),并辅以来自现实项目的正、反两面的范例。只要遵循这些规则,就能编写出干净的代码,从而有效提升代码质量。 ......一起来看看 《代码整洁之道》 这本书的介绍吧!

HTML 编码/解码

HTML 编码/解码

HTML 编码/解码

HEX HSV 转换工具

HEX HSV 转换工具

HEX HSV 互换工具