Gico makes your git history consistent, and your changes -- traceable
Project description
GiCo 🤌
Git commit composer, or GiCo, is your ultimate answer to "keep your commits as
small as possible". Once you have staged whatever the mess you have accumulated
so far, run gico
, and it will make you a neat and comprehensive commit
history.
git add <your files>
gico --help
gico
GiCo provides you with a zero-friction way to do this
> git log --all --decorate --oneline
e01f0cc (HEAD -> master) [bb:b] Impl | Similar message for each commit
358fcb1 [aa:a] Ref | Similar message for each commit, but different commit types
8c73fb5 [aa:a] Impl | Similar message for each commit, but different commit types
af31232 [aa:* bb:*] Impl | Stemmed representation
7f2c4bd [:b] Ref | hi
39f881c [:a] Impl | echo
4063a8e (tag: base) [:README] Impl | Yo
c9bd056 [:README] Impl |
... instead of this
> git log --all --decorate --oneline
e01f0cc (HEAD -> master) Minor changes (9999 files)
c9bd056 Initial message. Thank God, it finally works!!11
Requirements
- Vim (for file-mediated prompt);
- Linux (for complete and vibrant life);
Installation
From Github
pip install git+https://github.com/damurashov/Git-commit-message-composer.git@main -U --force
From PyPi
It might actually be published on PyPi. At the appropriate juncture. In the fullness of time.
Acknowledgements
- Simple-term-menu, https://github.com/IngoMeyer441/simple-term-menu
- Shlex, https://docs.python.org/3/library/shlex.html
- Tired https://pypi.org/project/tired/. This library is one big boilerplate, and its good!
Known limitations / issues
- It does not handle renames well (yet);
- Sometimes, it does not stem header and source into the same name
Announced features
- Cache previous selection for file-module associations;
- Cache messages for further reuse;
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gico-1.0.6.tar.gz
(5.1 kB
view details)
Built Distribution
gico-1.0.6-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file gico-1.0.6.tar.gz
.
File metadata
- Download URL: gico-1.0.6.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee77fe7718be74cb752d03faba264d2230ebe35328e0e78809ec874893aeea67 |
|
MD5 | 9374a61cd697c63c4c661138f6c39dfd |
|
BLAKE2b-256 | 9d8b125a05f8c844eacb21c88527b18d389a2d2fd37c932b9921e17317b9e0c1 |
File details
Details for the file gico-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: gico-1.0.6-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c087a4c855ebbeab88f9e2004e6075ea974903a13e1456b7a0a061fd227c075 |
|
MD5 | 70c64e83b532c3651455b3ee5dd16188 |
|
BLAKE2b-256 | 90cb1fc491a7ea449b816d6b93374d2ebbd08a8789c61be5e6cfb58922afb7a8 |