Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cloud303-cholden/gin

A convenience wrapper for switching Git configurations.
https://github.com/cloud303-cholden/gin

Last synced: 1 day ago
JSON representation

A convenience wrapper for switching Git configurations.

Awesome Lists containing this project

README

        

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 `.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
```