Assuming the submodule has a Git directory at$GIT_DIR/modules/foo/and a working directory atpath/to/bar/, the superproject tracks the submodule via agitlinkentry in the tree atpath/to/barand an entry in its.git
[--exclude-per-directory=<file>] [--exclude-standard] [--error-unmatch] [--with-tree=<tree-ish>] [--full-name] [--recurse-submodules] [--abbrev[=<n>]] [--] [<file>…] 这将(索引)暂存区中的文件列表与实际的工作目录列表合并,并显示两者的不同组合。以下一个或多个选项可用于确...
The number of submodules fetched at the same time. Defaults to thesubmodule.fetchJobsoption. <repository> The (possibly remote)<repository>to clone from. See theGIT URLSsection below for more information on specifying repositories. <directory> ...
--also-filter-submodules --mirror -o <name>, --origin <name> -b <name>, --branch <name> -u <upload-pack>, --upload-pack <upload-pack> --template=<template-directory> -c <key>=<value>, --config <key>=<value> --depth <depth> --shallow-since=<date> --shallow-exclude=<revi...
path = wp-content/plugins/SUBMODULE url = https://github.com/USER/REPO.git Git Clone In order to clone a repo: The repo must exist A commit has to have beenGit pushed to WP Engine SSH keys must be addedforallusers who want to connect to the repo ...
and--include-submodules. The--backupflag will clone the repo withgit clone --mirror. The--clone-wikiflag will include any wiki pages the repo has. If you want to include any submodules you will need--include-submodules. Lastly, if you want to exclude any binary files use the the flag...
killed|modified])*(-[c|d|o|i|s|u|k|m])*[--eol][-x<pattern>|--exclude=<pattern>][-X<file>|--exclude-from=<file>][--exclude-per-directory=<file>][--exclude-standard][--error-unmatch][--with-tree=<tree-ish>][--full-name][--recurse-submodules][--abbrev][--][<file>…...
git diff-files --quiet --ignore-submodules -- "$@" && (test -z "$untracked" || test -z "$(untracked_files)") } untracked_files () { if test "$1" = "-z" then shift z=-z else z= fi excl_opt=--exclude-standard ...
将签出以下代码:git submodule add ../../../FabrikamFiberProject/_git/FabrikamFiber FabrikamFiber 在此示例中,子模块是指在同一 Azure DevOps 组织中但在不同项目 (FabrikamFiberProject) 中的存储库 (FabrikamFiber)。 代理用于从主存储库获取源的凭据也用于获取子模块的源。 这要求作业访问令牌有权访问第二...
将签出以下代码:git submodule add ../../../FabrikamFiberProject/_git/FabrikamFiber FabrikamFiber 在此示例中,子模块是指在同一 Azure DevOps 组织中但在不同项目 (FabrikamFiberProject) 中的存储库 (FabrikamFiber)。 代理用于从主存储库获取源的凭据也用于获取子模块的源。 这要求作业访问令牌有权访问第...