An open API service indexing awesome lists of open source software.

https://github.com/dan-amoroso/git-sub

wrapper/utility to manage git submodules
https://github.com/dan-amoroso/git-sub

git git-submodule submodule

Last synced: 29 days ago
JSON representation

wrapper/utility to manage git submodules

Awesome Lists containing this project

README

          

# git-sub [![Build Status](https://travis-ci.com/Dansvidania/git-sub.svg?branch=master)](https://travis-ci.com/Dansvidania/git-sub) [![Open Source Helpers](https://www.codetriage.com/dansvidania/git-sub/badges/users.svg)](https://www.codetriage.com/dansvidania/git-sub)

git-sub tries to minimize manual operations needed to deal with submodules

the CLI api offers the following endpoints:

```
git-sub add URL PATH - add a submodule
git-sub rm PATH - remove a submodule
git-sub mv FROM-PATH TO-PATH - move a submodule to a new directory
git-sub ls - list submodules for the current repository

```

## roadmap

- [x] - implement list functionality
- [x] - implement add functionality
- [x] - implement remove functionality
- [x] - implement move functionality
- [ ] - implement update functionality (track submodule branch)
- [ ] - make search for .gitmodules and .git/config files possible from subdirectories