tested with macOS, adjust install path for other OS types
git clone https://github.com/maxiroellplenty/rsgit.git
cd rsgit
chmod +x rsgit
./rsgit --install
- Open the
/usr/local/bin/rsgit
file - Add you repositories to the array in line 5
- repositoryPath=branchName
- repositoryPath is the path for the repo
- [Optional] branchName is the branch for the reset function
- example
/path/to/rsgit=master
- Edit basePath in line 9
- example
/
or/workspace
- example
- Start new shell and type
rsgit
- --install
- --uninstall
- Report bugs by creating an issue at this repo.