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 删除 还没提交 git 记录的话,把下载的文件夹和 .gitmodules 中相关内容删除即可。...否则: git rm --cached ...
-Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb +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. ...
---a/folder+++b/folder-Subprojectcommit8ffcce923b69d314938ce5485f2ac022986aebcb+Subprojectcommit8ffcce923b69d314938ce5485f2ac022986aebcb-dirty 也就是说主仓库会记录当前该文件夹所用的子项目的 commit 号,所以应该先提交子仓库,再提交主仓库。
---a/folder+++b/folder-Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb+Subproject commit 8ffcce923b69d314938ce5485f2ac022986aebcb-dirty 也就是说主仓库会记录当前该文件夹所用的子项目的 commit 号,所以应该先提交子仓库,再提交主仓库。
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 ...
(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...
ce->ce_namelen = namelen; if (state->ita_only) { ce->ce_flags |= CE_INTENT_TO_ADD; set_object_name_for_intent_to_add_entry(ce); } else if (S_ISGITLINK(mode)) { const char *s; if (!skip_prefix(buf, "Subproject commit ", &s) || get_oid_hex(s, &ce->oid)) { dis...