Skip to main content

The CLI tool to use multiple git config presets easily.

Project description

git-presets

The CLI tool to use multiple git config presets easily.

Usage

set and use

Making the work preset and use it

git-presets set work user.name a4rcvv
git-presets set work user.email "a4rcvv@example.tld"
git-presets use work

# git-presets runs these commands internally:
# git config user.name a4rcvv
# git config user.email "a4rcvv@example.tld"

show

Show defined presets

git-presets show  # show all presets
git-presets show work # show the `work` preset

unset

Unset an attribute from the preset

git-presets unset work user.name

remove

Remove the work preset

git-presets remove work

Show help

Use -h option to show more help.

git-presets -h

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_presets-0.1.0.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_presets-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file git_presets-0.1.0.tar.gz.

File metadata

  • Download URL: git_presets-0.1.0.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for git_presets-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42355984fd146f4c7e34b0d5186d04beccbe89870816a99c31f8bb83a063bbdc
MD5 ef7f5a26f85a8bb2a092e225ba5f68bf
BLAKE2b-256 2a33ea7874393d26d585139e042becf8301ffa40bb745b41136a675b0d689867

See more details on using hashes here.

File details

Details for the file git_presets-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: git_presets-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for git_presets-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c288aa915a1bcd240b1daa8419687f1dcc1e30fb0f5aaa5fb19e9d1344f7d598
MD5 8ab4f19e69e09313a59db7dfccf44bfd
BLAKE2b-256 fde99ebf957b1133cda307225b71753977d09f770d6db59b05d7bf8eaba38e04

See more details on using hashes here.

Supported by

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