【发布时间】:2013-11-24 22:11:15
【问题描述】:
我是 git 新手,我正在通过 tutorial 设置子模块。我正在尝试理解所有命令并挂断下面的行。
git config branch.master.remote origin
git config branch.master.merge refs/heads/master
谁能解释一下 git config 的作用以及如何解释
branch.master.remote
branch.master.merge
【问题讨论】:
-
试试
git config --help。 -
git config用于查询或设置 git 的配置选项。 git scm book 讨论了您可能感兴趣的常见选项,并且它们都在手册页中进行了讨论(man git-config,与git config --help@RobinGreen 指出的相同)。
标签: git merge branch master git-config