Skip to main content

Easily switch between Git configurations on a per-repository basis.

Project description

git-profile

A tiny command-line tool that allows you to override local repository settings by switching profilef.

$ git profile
* default
  Work
$ git profile Work
Switched to profile "Work".

A profile can be created simply by adding the name of the profile to one or more sections that should be overwritten when the profile is activated.

[Work.user]
  email = "me@work.com"
  signingkey = 2SDASF9ASF8ASF9A

To revert the changes that a profile applied, simply do

$ git profile default

Vendored Libraries

Changelog

1.0.0 (2019-04-23)

  • Initial release

Copyright © 2019 Niklas Rosenstein

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-profile-1.0.0.tar.gz (9.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page