github-change-default-branch

command
Version: v0.0.0-...-6850e58 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 7 Imported by: 0

README

github-change-default-branch

Iterate over a user/org's repos, and change the default branch of each repo to the name specified.

Usage of github-change-default-branch:
  -login string
    	GitHub Login (user or org) whose repos to list (default: currently-authorized user)
  -new-name string
    	The new name to use for the default branch on given repos (default "main")

Example:

$ github-change-default-branch -login=Microsoft -new-name=main

Installation:

$ go get github.com/parkr/github-utils/cmd/github-change-default-branch

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

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