gitops

command module
v0.0.0-...-a0df5fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2019 License: MIT Imports: 1 Imported by: 0

README

GitOps

A collection of git tools:

  • Show status from projects in sub directories.
  • Easy merging hotfix and feature pull requests.

Install

Install GitOps from source.

git clone git@github.com:xtreamwayz/gitops.git
cd gitops
go install

Usage

gitops help
gitops <command> help
gitops <command> --verbose

# Check git status of current and all sub directories
gitops status

# Set upstream remote
gitops upstream git@github.com:<original_organization>/<project>.git

# Create hotfix from pull request
gitops hotfix --pr 123  [--branch master]

# Create feature from pull request
gitops feature --pr 123 [--branch develop]

# Merge hotfix / feature
gitops merge [--branch master,develop]

Develop

Run:

go run main.go

Compile and run:

go build .
.\gitops.exe

Update dependencies:

go get -u ./...
go mod tidy

Test:

go test ./...
go test -coverage -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html

Contributing

BEFORE you start work on a feature or fix, please read & follow the contributing guidelines to help avoid any wasted or duplicate effort.

Code released under the MIT License. Documentation distributed under CC BY 4.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL