Microplane

A CLI tool to make git changes across many repos, especially useful with Microservices.
Alternatives To Microplane
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Bat41,520135a day ago37September 10, 2022210apache-2.0Rust
A cat(1) clone with wings.
Lazygit35,49627 hours ago209July 18, 2022498mitGo
simple terminal UI for git commands
Cli32,491274 hours ago152September 21, 2022426mitGo
GitHub’s official command line tool
Learngitbranching27,578
16 days ago1May 29, 201924mitJavaScript
An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
Vim Fugitive17,651
5 days ago35Vim Script
fugitive.vim: A Git wrapper so awesome, it should be illegal
Cz Cli15,25713,21913,6252 days ago78May 07, 2021179mitJavaScript
The commitizen command line utility. #BlackLivesMatter
Dolt14,9312an hour ago214May 19, 2022292apache-2.0Go
Dolt – Git for Data
Git History13,254
2 months ago7March 19, 201976mitJavaScript
Quickly browse the history of a file from any git repository
Onefetch7,865
10 hours ago29March 29, 202225mitRust
Command-line Git information tool
Gitsome7,392
82 months ago12April 07, 201960otherPython
A supercharged Git/GitHub command line interface (CLI). An official integration for GitHub and GitHub Enterprise: https://github.com/works-with/category/desktop-tools
Alternatives To Microplane
Select To Compare


Alternative Project Comparisons
Readme

microplane

A CLI tool to make git changes across many repos.

Learn more about microplane in this introductory blogpost.

microplane

"the lemon is Git{Hub,Lab}"

Setup

Here are several ways to install microplane:

  • Pre-built release - You can download a pre-built version of Microplane from the Github releases.
  • Compile it yourself - Run go install github.com/Clever/[email protected]. In this case the binary will be installed to $GOPATH/bin/microplane. Alternately, you can follow the steps under "Development", below.
  • Homebrew - brew install microplane. The latest homebrew formula is here

Usage

GitHub setup

The GITHUB_API_TOKEN environment variable must be set for Github. This should be a GitHub Token with repo scope.

Optional: If you use self-hosted Github, you can specify its URL by passing --provider-url=<your URL> when running mp init. This URL should look like: https://[hostname]. Don't include path parameters like /api/v3 or /api/uploads.

Self-hosted Github setup with different URLs for the main API and uploads API are not yet supported. If this is a blocker for you, please file an issue or make a PR.

GitLab setup

The GITLAB_API_TOKEN environment variable must be set for Gitlab. This should be a GitLab access token

To use Gitlab, you must specifically pass --provider=gitlab when running mp init.

Optional: If you use a self-hosted Gitlab, you can specify its URL by passing --provider-url=<your URL> when running mp init.

Using Microplane

Microplane has an opinionated workflow for how you should manage git changes across many repos. To make a change, use the following series of commands.

  1. Init - target the repos you want to change
  2. Clone - clone the repos you just targeted
  3. Plan - run a script against each of the repos and preview the diff
  4. Push - commit, push, and open a Pull Request
  5. Merge - merge the PRs

For an in-depth example, check out the introductory blogpost.

Related projects

Development

See Development.md.

Popular Git Projects
Popular Command Line Projects
Popular Version Control Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Cli
Git
Microservice
Gitlab
Repository Management