https://github.com/kulichkoff/chgpf
A simple command-line tool to change Git profiles with ease
https://github.com/kulichkoff/chgpf
cli git rust
Last synced: 2 months ago
JSON representation
A simple command-line tool to change Git profiles with ease
- Host: GitHub
- URL: https://github.com/kulichkoff/chgpf
- Owner: kulichkoff
- License: mit
- Created: 2024-10-30T13:04:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-27T08:33:17.000Z (over 1 year ago)
- Last Synced: 2025-04-06T23:29:24.503Z (about 1 year ago)
- Topics: cli, git, rust
- Language: Rust
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chgpf
A simple command-line tool to change Git profiles with ease.
## Table of Contents
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [License](#license)
## Features
- Switch between multiple Git profiles in a single command.
- Easy configuration and setup.
- Lightweight and fast.
## Installation
To install `chgpf`, you can check *Releases* page or just install with `cargo`:
```bash
cargo install chgpf --git https://github.com/kulichkoff/chgpf
```
## Usage
```bash
chgpf
```
Replace `` with the name of the profile you want to switch to.
## Configuration
Create a configuration file in your home directory to define your Git
profiles. In Unix systems it should be `~/.config/chgpf/profiles`.
```toml
[profile_name]
user = "your_email@example.com"
name = "Your Name"
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE)
file for details.