branch_switcheroo

module
v0.0.0-...-7668bd3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT

README

Branch Switcheroo


I had some shell functions that checked whether a git repo used main or master and changed to those branches using gcom and gpom (git checkout main/master and git pull origin main/master depending on what the default branch name was).

To use:

make install

Then in your terminal:

  • gcom: to check out main or master, depending on which this repo uses
  • gpom: to pull main or master, depending on which this repo uses

Directories

Path Synopsis
cmd
gcb

Jump to

Keyboard shortcuts

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