Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cloud303-cholden/gin
- Owner: cloud303-cholden
- License: bsd-3-clause
- Created: 2022-08-27T21:33:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-23T17:51:49.000Z (10 months ago)
- Last Synced: 2025-01-28T07:02:00.935Z (9 days ago)
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```