Tagged articles
submodule
11 articles · Page 1 of 1
Git Submodules let developers embed external Git repositories within a main project, enabling precise version locking, independent histories, and reusable code, while requiring specific commands for adding, initializing, updating, and managing submodule references, and presenting trade‑offs such as operational complexity and limited automation compared to modern package managers.
Gitdependency-managementsoftware-development
0 likes · 7 min read

An RCE vulnerability (CVE‑2024‑32002) in Git allows attackers to embed malicious hooks via a recursive submodule and a case‑insensitive symlink, so that cloning the repository executes arbitrary code such as launching the calculator, affecting Git versions up to 2.45.0 unless patched.
CVE-2024-32002git-hooksremote code execution
0 likes · 10 min read

Git’s CVE‑2024‑32002 is a critical remote‑code‑execution flaw where a malicious repository can exploit hooks, submodules, and symlinks on case‑insensitive file systems to inject and run attacker‑controlled scripts during a recursive clone, affecting versions up to 2.45.0 and mitigated by disabling recursive submodule fetching, avoiding untrusted clones, and updating Git.
CVE-2024-32002GitRCE
0 likes · 9 min read

Git 2.34 introduces a sparse index for large monorepo repositories, multi‑package reachability bitmaps, the default "ort" merge strategy, OpenSSH‑based tag signing, interactive autocorrect prompts, performance improvements for fetch and push, and various submodule enhancements.
BitmapSparse Indexort merge
0 likes · 2 min read

This article details how the Tongtian Tower front‑end platform was refactored to support multiple sites by extracting common modules, adopting Git Submodule combined with Yarn workspaces, and integrating npm packages, thereby reducing development time and improving maintainability across international and commercial projects.
module-reusenpmsubmodule
0 likes · 13 min read

This guide explains how to boost Git repository download speeds in China by mirroring projects to Gitee, using fork and clone operations, and optimizing submodule handling to achieve transfer rates of 1–2 MB/s instead of the typical 20 KB/s.
GitGiteeRepository
0 likes · 5 min read

This guide explains how Chinese developers can overcome slow GitHub clone speeds by mirroring repositories to Gitee, achieving download rates of 1–2 MB/s and also provides a method to accelerate submodule fetching.
ChinaGitGitee
0 likes · 5 min read


ITPUBJul 3, 2020 · Fundamentals
This comprehensive guide explains Git's core concepts, configuration, common commands, branching strategies, hooks, submodules, and troubleshooting tips, providing clear examples and code snippets to help developers efficiently manage version control in any project.
command-linehookssubmodule
0 likes · 37 min read

This guide explains how to overcome the typical 20 kB/s GitHub download limit in China by mirroring repositories to Gitee, providing step‑by‑step instructions to achieve 1‑2 MB/s clone speeds for both main projects and their submodules.
CloneGitGitee
0 likes · 5 min read

This article analyzes common source‑code management patterns for numerous small projects, identifies their drawbacks, and proposes a hybrid solution that combines a single‑git repository with git‑submodule based sub‑projects, automated shell scripts, and Umi‑based tooling to achieve unified yet isolated development and deployment.
GitUMIautomation
0 likes · 12 min read

This article shares a comprehensive one‑year‑long Git usage summary, covering essential commands for configuration, SSH key management, remote URL changes, viewing history, handling push errors, submodule operations, branch management, conflict resolution, and best practices for committing and reverting code.
branchingconflict resolutionsubmodule
0 likes · 10 min read
