Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-multi

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-multi - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "git-multi",
"version": "0.1.0",
"version": "0.1.1",
"description": "The most stupid way to run a git command on multiple repositories.",

@@ -5,0 +5,0 @@ "repository": {

@@ -8,12 +8,27 @@ # GIT multi

```npm -g install git-multi```
Install this library via [NPM](https://www.npmjs.org/package/git-multi):
``` bash
npm -g install git-multi
```
## How it works
`git-multi` runs a git command sequentially on 2+ repositories. This can be useful when you have a project spread on more repositories (ie. an app repository and some dependencies, like libraries or plugins) and you want to run the same exact git command on the main repository and it dependencies.
## Setup
1. ```cd <main repository>```
2. create ```.gitmulti``` file
3. add to ```.gitmulti``` the path to any repository you want to manage with git-multi (1 per line)
2. create `.gitmulti` file
3. add to `.gitmulti` the path to any repository you want to manage with git-multi (1 per line)
Then, in the `<main repository>` you can run any git command like this:
``` bash
git multi status
```
And it will run ```git status``` in the `<main repository>` and all dependencies repositories (configured in `.gitmulti`).
## Example

@@ -34,6 +49,6 @@

And then run a git command to your repositories:
```
And then run:
``` bash
cd /workspace/main-app
git multi status
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc