Skip to main content

git-changes

I just want to manage my commit messages.


Why?

i just want to keep track of the changes that I make. Instead of adding many changes at once and then writing a long commit message, I just want to add the each change with a message and then commit them.


Installation

pip3 install git-changes

Usage

Initializing

After installing run the below command in a git repo

gitc --init

Adding changes with messages

$ git addm file -m 'adding a new file' --type=fix
[fix] adding a new file

The --type is optional. The currently supported choices for --type are

$ git addm -help
usage: gitc-add [-h] -m MESSAGE [--type {feat,fix,docs,style,refactor,perf,test,build,ci,chore,revert}]

options:
  -h, --help            show this help message and exit
  -m MESSAGE, --message MESSAGE
                        Message to add
  --type {feat,fix,docs,style,refactor,perf,test,build,ci,chore,revert}
                        The type of the change

Show Message

To list all the messages that will added to the next commit, run

$ git show-messages
[fix] new hello file
[fix] adding a new file
[perf] fix some_function
[refactor] change var name

Commit

In order to commit with all these message all you have to do is run.

$ git commit

This will open up commit message editor with all the set message for the current commit.

Terminal image

NOTE: you cannot simply save and exit this file; since this is a template you have to make some changes to it. I suggest adding a title that summarizes all these changes.

After a successful commit all the messages will be automatically removed.

$ git show-messages
No commit messages yet!.. To add new message run
git addm -m <message> [--type]

Bye...

Metadata

Release files for git-changes 0.0.3

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-changes 0.0.3
File Size Uploaded Provenance
git_changes-0.0.3.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for git-changes 0.0.3
File Interpreter ABI Platform
git_changes-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / git_changes-0.0.3.tar.gz

Download URL git_changes-0.0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dd32599e1dcc98d67fe62fddd45b8bc6ec536758018045ac286269688ae1a797
BLAKE2b-256 checksum
How to use checksums
580dd82cfa59852e0dd8f3127f830b4d23cabd6195c6b5f3e4e5547ec143ad75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / git_changes-0.0.3-py3-none-any.whl

Download URL git_changes-0.0.3-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a27ce10afc876193e199030da9cc823c07dd149c8dd7e39968f94c520a60a3a
BLAKE2b-256 checksum
How to use checksums
3118fa0ef16c8d7160fb331e86315ee4593af1a99dedd82bb64707bb60875dba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for git-changes 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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