cloud303-cholden / gin

A convenience wrapper for switching Git configurations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gin

gin (short for git init) is a convenience wrapper for git config and (soon) git init. It is useful for users with multiple Git configurations. It enables (soon) initializing a Git repository with a specific configuration as well as switching configurations on the fly.

Usage

Currently the only Git configuration location that is supported is $XDG_CONFIG_HOME/git/. The tool relies on <name>.conf files in this directory for changing the local configuration. The below command updates the ./.git/config file and depends on the user being in the project root.

$ gin -p <name>

About

A convenience wrapper for switching Git configurations.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Rust 100.0%