Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1011 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 1011 Bytes

multi-git

Crates.io

C:\Users\LUNA>mgit --help
multi-git 0.1.0
scullionw <[email protected]>
Quick CLI to view git status of projects

USAGE:
    mgit [target_dir]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <target_dir>

Installation

Crates.io:

    cargo install multi-git

or latest from git:

    cargo install --git "https://github.com/scullionw/multi-git"

or from source:

    cargo build --release
    sudo chmod +x /target/release/mgit
    sudo cp /target/release/mgit /usr/local/bin/

Example script on windows (check.bat):

mgit "C:\Users\User\Desktop\Projects"
pause

Example script on macOS (chmod +x check.sh):

#!/bin/bash
mgit "/Users/username/Projects"
read -n 1 -s -r -p "Press any key to continue"