16 lines
615 B
Markdown
16 lines
615 B
Markdown
|
---
|
||
|
title: "git submodule 的 commit 信息保存在何处"
|
||
|
date: 2022-04-29T14:54:02+08:00
|
||
|
tags: []
|
||
|
categories: []
|
||
|
weight: 50
|
||
|
show_comments: true
|
||
|
draft: false
|
||
|
---
|
||
|
|
||
|
Git 将子模块的整个根目录作视为一个整体处理,实际使用的是子模块的哪一个 commit 的信息以 commit object 的形式放在某一个 tree object 中
|
||
|
|
||
|
参考:
|
||
|
|
||
|
[https://stackoverflow.com/questions/35211547/where-is-a-submodule-commit-number-stored-and-how-do-i-change-it/35211854#35211854](https://stackoverflow.com/questions/35211547/where-is-a-submodule-commit-number-stored-and-how-do-i-change-it/35211854#35211854)
|