1.0.3 • Published 3 years ago

gadgit v1.0.3

Weekly downloads
-
License
Artistic-2.0
Repository
-
Last release
3 years ago

Gadgit

Config

Create a file ~/.gadgit.json, with structure:

{
	"github": {
		"authTokens": {
			"[ACCOUNT_NAME]": "[PERSONAL_ACCESS_TOKEN]"
		},
		"orgs": {
			"[ORG_NAME]": {
				"asUser": "[ACCOUNT_NAME]"
			}
		}
	}
}

Command line usage

gg br

Displays branches, allows moving between them.

gg pr

Displays GitHub PRs, colored according to approvals, allows merging. Stack aware.

gg ri

Use to separate your branch into a stack of related branches. Insert split [new branch name] rows in the rebase script.

gg sync

Run in your stack branch to push any branches to GitHub and open PRs.