vcs2git

Crates.iovcs2git
lib.rsvcs2git
version0.3.0
sourcesrc
created_at2024-02-21 13:48:02.867303
updated_at2024-04-25 08:45:05.975205
descriptionImport VCS .repos as Git submodules
homepagehttps://github.com/jerry73204/vcs2git/
repositoryhttps://github.com/jerry73204/vcs2git.git
max_upload_size
id1148070
size27,562
(jerry73204)

documentation

https://docs.rs/vcs2git/

README

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.

Commit count: 15

cargo fmt