git-helpers

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

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 4 Imported by: 0

README

git-helpers

Provides a collection of helper functionality that I used every day

Installation

# install cli
go install github.com/ahodieb/git-helpers

# setup git aliases for a quicker flow
git-helpers install-git-aliases

Helpers

checkout-main

Checkout the main branch. Many projects have migrated from master to main as the main branch name, so this switch to whatever is the main branch in the current repository

git-helpers checkout-main

# with git aliases setup
git main
rebase-all

Rebase all the other branches on top of the main branch. When I work on multiple feature branches locally I like to rebase all of them onto main frequently.

git-helpers rebase-all

# with git aliases setup
git rebase-all

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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