Skip to main content

Git Accoutrements

An opinionated set of git python scripts and that have been developed over time to improve primarily Github flow based workflows.

Tools

git master

Checks out the latest copy of the (master|main|trunk) branch of the project and ensures the local branch is up to date.

git (feature|chore|bugfix)

Creates a (feature|chore|bugfix) branch at the current version of the (master|main|trunk) branch. Useful in a Github flow based workflow

git tidy

Attempts to find merged branches / pruned branches in your local repo and will prompt the user to delete them. Quite useful when working on projects that user Github Flow.

git ditto

A simple replacement for the git clone command, however it will scan up through the filesystem looking a file called .git-ditto.toml. This file can be used to store configuration updates that should be applied after the clone.

This is particularly useful if you want to associate a different git profile (user, email, signingkey) for a particular folder. i.e.

~/Code/Work/.git-ditto.toml    # the clones in this folder will have use work profile

And

~/Code/Home/.git-ditto.toml    # the clones in this folder will have use home profile

Example .git-ditto.toml

[user]
name = "<insert name here>"
email = "<insert email here>"
signingkey = "<insert signing key>"

git del

Deletes both local and remove copies of a branch

git rel

Creates a new signed or annotated tag and pushes it up to the upstream repo.

Metadata

Release files for git-accoutrements 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-accoutrements 0.2.0
File Size Uploaded
git-accoutrements-0.2.0.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-accoutrements 0.2.0
File Interpreter ABI Platform
git_accoutrements-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.9 kB

Release files / git-accoutrements-0.2.0.tar.gz

Download URL git-accoutrements-0.2.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
34c909660c7fc9fef6e6472d22f9fb062c9fc4056b6d24300d3fedf057ae7f9d
BLAKE2b-256 checksum
How to use checksums
61acd2e934915fa8673c04041023d6c05f73644e29f91cf8f8dd1e2d5bfd5954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / git_accoutrements-0.2.0-py3-none-any.whl

Download URL git_accoutrements-0.2.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac61f55d3f583e209be41629ab3255a5a254e6ceb6d1dcbd7e85352c3f26c899
BLAKE2b-256 checksum
How to use checksums
0dbcee99acdf13f3d79901e3bfb3f1c5a10332dd38dddfea0f59e4d534844803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page