git submodule[--quiet] [--cached]git submodule[--quiet] add [<options>] [--] <repository> [<path>]git submodule[--quiet] status [--cached] [--recursive] [--] [<path>…]git submodule[--quiet] init [--] [<path
git submodule[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--depth <depth>] [--] <repository> [<path>]git submodule[--quiet] status [--cached] [--recursive] [--] [<path>…]git submodule[--quiet] init [--] [<path>…]gi...
git # 默认添加到当前目录下 git submodule add https://github.com/xjh22222228/git-manual.git submodules/git-manual # 添加到指定目录 # -b 指定需要添加仓库的某个分支 git submodule add -b develop https://github.com/xjh22222228/git-manual.git # 克隆一个包含子模块的项目 --recursive 用于递归...
single_branch= die_if_unmatched () { if test "$1" = "#unmatched" then exit ${2:-1} fi } # # Print a submodule configuration setting # # $1 = submodule name # $2 = option name # $3 = default value
single_branch= jobs= recommend_shallow= die_if_unmatched () { if test "$1" = "#unmatched" then exit ${2:-1} fi } # # Print a submodule configuration setting # # $1 = submodule name # $2 = option name ...
git_submodules_update_repos.sh - updates submodules for all repos given as args or saved in the setup/repos.txt file git_askpass.sh - credential helper script to use environment variables for git authentication github/*.sh - GitHub API / CLI scripts: github_api.sh - queries the GitHub ...
[--[no-]remote-submodules] [--jobs<n>] [--] <repository> [<directory>] 该命令常用参数如下: -o <name>、--origin <name>:指定远程仓库的本地名称为 <name>,而不使用默认的 origin。 -b <name>、--branch <name>:用于克隆名为 <name> 的远程分支,而不是以 HEAD 创建分支。在非空的仓库中...
Git Large File Support Sourcetree supports Git LFS, allowing teams to track large assets in one single place. Git-flow out of the box Smart branching with Sourcetree andGit-flow, keeping repositories clean and development efficient. Submodules ...
git -c http.https://<url of submodule repository>.extraheader="AUTHORIZATION: Basic <BASE64_ENCODED_STRING>" submodule update --init --recursive 请务必将“<BASE64_ENCODED_STRING>”替换为 Base64 编码的“pat:token”字符串。 在项目或生成管道中使用机密变量来存储生成的基本身份验证令牌。使用该变...
git -c http.https://<url of submodule repository>.extraheader="AUTHORIZATION: Basic <BASE64_ENCODED_STRING>" submodule update --init --recursive 请务必将“<BASE64_ENCODED_STRING>”替换为 Base64 编码的“pat:token”字符串。 在项目或生成管道中使用机密变量来存储生成的基本身份验证令牌。使用该变...