Crates.io | git-auth |
lib.rs | git-auth |
version | 0.1.3 |
created_at | 2025-09-01 03:52:22.333733+00 |
updated_at | 2025-09-18 23:24:39.219794+00 |
description | A git credential helper that aims to integrate better with your git workflow |
homepage | |
repository | https://github.com/CamLovell/git-auth |
max_upload_size | |
id | 1819095 |
size | 95,156 |
A more integrated credential manager for git. It is simple right now but the goal is to remove the need to think about credentials separately from git itself. Just go use git and if credentials are needed you will be prompted as required.
git-auth supports multiple accounts and will remember which accounts are associated with which remotes.
Just push
, pull
, clone
, etc. and the rest will be taken care of.
There are no distro-specific packages (yet hopefully).
git-auth is available through cargo. To install simply run:
cargo install git-auth
Assuming your path is setup for cargo installed binaries the command git-auth
should now be available!
git clone https://github.com/CamLovell/git-auth
cd git-auth
cargo build --release
You will now find the binary at target/release/git-auth
[!TIP] You can combine the build and setup steps by running
cargo run --release -- init
(Note the space before init!)
The goal is to be as simple as possible, once installed there is only one manual step:
git-auth init
If you built from source and are in the repository root the command will be something like:
./target/release/git-auth init
(Or refer to the tip above!)
Now just got about your work! When git needs permissions for some remote you will be prompted accordingly, no need to think about credentials anymore.
If you want to access git-auth
the initialisation will setup an alias for you to integrate better with git
itself. Use git auth
(yes, with the space) to access git-auth
directly.
I'll add more detail here soon, run git auth -h
for more info.
Very early stages, right now it only supports github over https. Planning to extend this over time.