Depreciated! Project is no longer continued!
Simple cli for managing multiple projects in git
> npm install
> npm link
Initialize config file in ~/.wgit.json
> wgit init
List all projects from config file
> wgit list
Runs git commands remotely for project
> wgit status [tag]
> wgit submodule [tag]
> wgit branch [tag]
> wgit tag [tag]
> wgit diff [tag]
> wgit cached [tag]
> wgit fetch [tag]
> wgit pull [tag]
Changes directory to specified in project
> cd $(wgit dunk [tag])
> cd `wgit dunk [tag]`
Located in ~/.wgit.json
{
"projects": [
{
"name": "Project A",
"root": "~/Projects/project_a",
"repos": [
{
"name": "Dev 1",
"tag": "dev1",
"repo": "main/dev/1"
},
{
"name": "Dev 2",
"tag": "dev2",
"repo": "branch/dev/2"
}
]
},
{
"name": "Project B",
"root": "~/Projects/old/project_b",
"repos": [
{
"name": "Old master",
"tag": "old",
"repo": "/"
}
]
}
]
}
MIT