If the repository is auto-discovered via a .git file (e.g. from submodules, or a linked worktree), the .git location would be the final location where the .git directory is, not where the .git file is. The pattern can contain standard globbing wildcards and two additional ones, **/...
--submodule[=<format>] Specify how differences in submodules are shown. When specifying --submodule=short the short format is used. This format just shows the names of the commits at the beginning and end of the range. When --submodule or --submodule=log is specified, the log format is...
git-submodule[1] Initialize, update or inspect submodules git-switch[1] Switch branches git-tag[1] Create, list, delete or verify a tag object signed with GPG git-worktree[1] Manage multiple working trees gitk[1] The Git repository browser ...
submodules that changed in the revisions to be pushed will be pushed. If on-demand was not able to push all necessary revisions it will also be aborted and exit with non-zero status. A value ofnoor using--no-recurse-submodulescan be used to override the push.recurseSubmodules configuration...
4.9 git submodule - 引用第三方模块 4.10 git subtree – 包含第三方模块 4.11 git tag – 发布软件版本 4.12 将GitHub仓库导入到Gitee – 解决GitHub访问速度慢问题 4.13 pull request – 贡献自己的代码 5. 常用Git命令说明 5.1 git config 5.2 git init 5.3 git clone 5.4 git add 5.5 git commit 5.6 gi...
A plain file.gitat the root of a working tree that points at the directory that is the real repository. For proper use seegit-worktree[1]orgit-submodule[1]. For syntax seegitrepository-layout[5]. grafts Grafts enable two otherwise different lines of development to be joined together by re...
When used in branch creation, a new branch <branchname> will be created in the superproject and all of the submodules in the superproject’s <start-point>. In submodules, the branch will point to the submodule commit in the superproject’s <start-point> but the branch’s tracking infor...
当指定--submodule=short选项时,会使用short格式。这种格式只显示范围的开头和结尾处的提交名称。当指定了--submodule或--submodule=log时,会使用log格式。这种格式会像git-submodule[1]summary那样,列出该范围内的提交。当指定了--submodule=diff时,会使用diff格式。这个格式显示的是子模块内在提交范围之间的变化差异...
If the repository is auto discovered via a .git file (e.g. from submodules, or a linked worktree), the .git location would be the final location where the .git directory is, not where the .git file is. The pattern can contain standard globbing wildcards and two additional ones, **/...
At this point, you can delete your local copy of thattest.txtfile, then use Git to retrieve, from the object database, either the first version you saved: $ git cat-file -p 83baae61804e65cc73a7201a7252750c76066a30 > test.txt ...