wgit
Depreciated! Project is no longer continued!
Simple cli for managing multiple projects in git
Install
> npm install
Link
> npm link
Usage
Init wgit
Initialize config file in ~/.wgit.json
> wgit init
List projects
List all projects from config file
> wgit list
Remote commands
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]
Jump into repo
Changes directory to specified in project
> cd $(wgit dunk [tag])
or
> cd `wgit dunk [tag]`
Config file
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": "/"
}
]
}
]
}
License
MIT