git-subrepo
« Back to VersTracker
Description:
Git Submodule Alternative
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: git version-control submodules developer-tools cli
Install: brew install git-subrepo
About:
Git Subrepo is a command-line tool that offers a cleaner alternative to Git's built-in submodule and subtree commands. It allows you to clone an external Git repository into a subdirectory of your host repository, maintaining a clean commit history. This enables you to push changes back to the upstream repository without cluttering your project's history with external code commits.
Key Features:
  • Clean repository history by avoiding commit clutter
  • Simpler commands compared to git submodule and git subtree
  • Ability to push changes back to the upstream repository
  • Maintains a clear separation between your code and external code
Use Cases:
  • Embedding third-party libraries while keeping the main repository clean
  • Managing shared code across multiple projects
  • Including documentation or assets from separate repositories
Alternatives:
  • git-submodule – Native Git solution but can be complex to manage and pollutes history
  • git-subtree – Native Git solution with cleaner history but more complex commands
Version History
Detected Version Rev Change Commit