Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
/ gitops Public archive

The missing git tools collection... Written in GO!

License

Notifications You must be signed in to change notification settings

geerteltink/gitops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Copyright and license

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

About

The missing git tools collection... Written in GO!

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages