Skip to content

easily switch between multiple git profiles/configs

Notifications You must be signed in to change notification settings

thansetan/git-sw

Repository files navigation

Git Sw(itch)

git-sw demo

A CLI tool to switch between multiple Git profiles/configs. A package to parse and create a .gitconfig file is also available here.

Installation

Binary releases are available on the releases page.

Go

go install github.com/thansetan/git-sw@latest

Usage

usage: git-sw [options] command
Available commands: 
  use       Select a profile to use.
  create    Create a new profile.
  edit      Edit an existing profile in text editor.
  delete    Delete an existing profile.
  list      List all available profiles.

Available options: 
  -g        Run the command globally (can only be used with the 'use', 'edit', and 'delete' commands).

About

easily switch between multiple git profiles/configs

Resources

Stars

Watchers

Forks

Languages