Blog
In-depth articles on AI agents, LLM engineering, servers, Python and software development.
The main reasons for a growing Git repository are committing large files (e.g., logs, videos), leftover large files in historical records, and unoptimized submodules. This leads to slow cloning/downlo
Git submodules are used to address the trouble of code reuse and avoid repeated pasting. The main repository only records the version and location of the sub-repositories, while the sub-repositories s
Git provides three undo tools: `reset`, `revert`, and `restore`. They have similar functions but different scenarios, so you need to choose based on the situation: - **git reset**: Adjusts the branch
### Why Unified Commit Specification is Needed? A unified commit specification addresses issues like difficult code reviews, chaotic version iterations, and failed automation tools. It ensures clari
### Why Migrate: SVN, as a centralized tool, has limitations (requires network for commits, inflexible branch management, frequent conflicts). Git, a distributed version control system, supports loc
Git repository permission management serves as the "access control system" for team collaboration, with the core goal of ensuring code security and preventing unauthorized modifications or leaks, whil
The article focuses on the key roles of Git and Pull Requests (PRs) in team collaborative development. Git enables version management through branches (parallel development), commits (saving code snap
### Guide to Renaming Git Branches Renaming branches is necessary to improve code structure clarity due to early naming inconsistencies, collaboration requirements, or logical adjustments. Ensure no
Version control is a core tool for managing code changes in software development, addressing issues such as multi-person collaboration and version rollback. This article compares centralized and distr
Git submodules are used to address issues such as version control loss, collaborative chaos, and code redundancy when a parent project reuses third-party code. The core idea is to embed an independent