RepoCombiner
RepoCombiner provides an easy CLI interface for combining multiple unrelated git histories (whether they originate from branches within the same repository, or entirely separate repositories) into one consolidated repository with a shared git history. This is extremely useful for taking advantage of analytics services such as GitHub Insights which are unable to perform any useful analysis on a multi-repo or whole-organization basis (ironically this is true even for GitHub Enterprise customers!).
Installation
Add the following to the dependencies section of your shard.yml file:
dependencies:
repo_combiner:
github: sam0x17/repo_combiner
Usage
The following will combine the assert.cr repo and the sepectator repo in an output directory called output
:
./repo_combiner output https://github.com/sam0x17/assert.cr.git https://github.com/icy-arctic-fox/spectator.git
Development
TODO Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/repo_combiner/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Sam Johnson - creator and maintainer