https://github.com/albinodrought/cleangit
Easily maintain multiple Git configs.
https://github.com/albinodrought/cleangit
Last synced: about 2 months ago
JSON representation
Easily maintain multiple Git configs.
- Host: GitHub
- URL: https://github.com/albinodrought/cleangit
- Owner: AlbinoDrought
- Created: 2023-08-05T18:57:48.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-05T18:59:56.000Z (almost 2 years ago)
- Last Synced: 2025-02-07T02:46:36.322Z (3 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CleanGit
Easily maintain multiple Git configs.
## Install
```sh
# Clone this repository:
git clone https://github.com/AlbinoDrought/cleangit.git
cd cleangit
# Optionally build a local copy of the container:
docker build -t ghcr.io/albinodrought/cleangit .
# Copy cleangit to your path (or don't, I'm not your dad)
sudo cp cleangit /usr/local/bin
```## Usage
Use `cleangit` instead of `git` in your commands.
Config will be loaded from `$XDG_CONFIG_HOME/cleangit/profile/$CLEANGIT_PROFILE`.
`CLEANGIT_PROFILE` is `default` if unset.