3 releases (breaking)

0.3.0 Apr 25, 2024
0.2.0 Apr 1, 2024
0.1.0 Feb 21, 2024

#2 in #repos

Download history 131/week @ 2024-02-20 24/week @ 2024-02-27 4/week @ 2024-03-12 114/week @ 2024-03-26 83/week @ 2024-04-02 121/week @ 2024-04-23 2/week @ 2024-04-30

123 downloads per month

MIT license

12KB
234 lines

vcs2git: Convert VCS repos to Git Submodules

Installation

Install the binary using Cargo.

cargo install vcs2git

Usage

This program reads a YAML .repos file and adds listed repos as submodules in the current Git repository.

Let's get started with Autoware's autoware.repos for example.

# Enter into the root of your Git repo
cd my_repo

# Add listed repos in autoware.repos as submodules under src directory.
mkdir src
vcs2git autoware.repos src

# Save added submodules
git commit

License

This software is distributed under MIT license. Please see the license file.

Dependencies

~16MB
~382K SLoC