New in Git version 1.7.2 AsNoamcomments below,this questionmentions that, since git version 1.7.2, you can ignore the dirty submodules with: gitstatus--ignore-submodules=dirty 答案出处:http://stackoverflow.com/questions/4873980/git-diff-says-subproject-is-dirty...
+Subproject commit 8c75e65b647238febd0257658b150f717a136359-dirty 不知道如何操作出现的 dirty , 可印象中⼜什么都修改过 解决办法, 进⼊提⽰的那个⽂件夹中 git checkout .摘录出来的部分英⽂回复如下:As mentioned in Mark Longair's blog post ,Versions 1.7.0 and later of git contain an ...
...+Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb-dirty 也就是说主仓库会记录当前该文件夹所用的子项目的 commit 号,所以应该先提交子仓库...初始化并递归更新所有子模块: git submodule update --init --recursive 也可以分开操作,初始化只需要执行一次: git submodule init 每次需要...
AI代码解释 ---a/folder+++b/folder-Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb+Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb-dirty 也就是说主仓库会记录当前该文件夹所用的子项目的 commit 号,所以应该先提交子仓库,再提交主仓库。 拉取 加上--recurse-submodules参数...
---a/folder+++b/folder-Subprojectcommit8ffcce923b69d314938ce5485f2ac022986aebcb+Subprojectcommit8ffcce923b69d314938ce5485f2ac022986aebcb-dirty 也就是说主仓库会记录当前该文件夹所用的子项目的 commit 号,所以应该先提交子仓库,再提交主仓库。
+Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb-dirty 1. 2. 3. 4. 也就是说主仓库会记录当前该文件夹所用的子项目的 commit 号,所以应该先提交子仓库,再提交主仓库。 拉取 加上--recurse-submodules 参数可以在克隆时初始化并更新子模块。
+Subproject commit 08d709f78b8c5b0fbeb7821e37fa53e69afcf433 事情就是這樣,因為你所擁有的子模組的指標,並沒有對應到子模組目錄的真實狀態。為了修復這一點,你必須再次運行git submodule update: $ git submodule update remote: Counting objects: 5, done. ...
(The common practice is to not store the entire history of the subproject in your main repository, but If you want to preserve it just omit the–squashflag.) The above command produces this output: git fetch https://bitbucket.org/vim-plugins-mirror/vim-surround.git main warning: no common...
diff --git a/fin-common-ultimate b/fin-common-ultimate --- a/fin-common-ultimate +++ b/fin-common-ultimate @@ -1 +1 @@ -Subproject commit 0fdda668c6480ecb21eae7c6a8cd1357ff531d4b +Subproject commit 0fdda668c6480ecb21eae7c6a8cd1357ff531d4b-dirty ...
*/ if (s->dirty_submodule) dirty = "-dirty"; strbuf_addf(&buf, "Subproject commit %s%s\n", oid_to_hex(&s->oid), dirty); s->size = buf.len; if (size_only) { s->data = NULL; strbuf_release(&buf); } else { s->data = strbuf_detach(&buf, NULL); s->should_free ...