Skip to content

Script which chages git user for repo and toggles GPG-signing to commits

License

Notifications You must be signed in to change notification settings

korniux/git-gpg-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

git-gpg-user

One upon a time I was almost leaked my work email while committing edits to public repo because of system-wide git config user.* settings.

So I've decided to write a script which helps me to switch git user fast and turns on gpg-signing because it depends on installed personal signs via gpg.

Requirements

Installation

$ make install

Also make sure that PATH have include ~/.local/bin.

Usage

Just type in git-repo:

$ git-gpg-user

Roadmap

  • POC, First revision.
  • Flag for preventing exit code 1 in git-hooks for example.

License

WTFPL v2

About

Script which chages git user for repo and toggles GPG-signing to commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published