Some usefull gitcommands to make life easier :)
Project description
Gitcy
A lightweight python package for some github cli utilities.
Is it necessary? No.
Is it helpful? Maybe.
Does it feel better? Yes.
Why
Instead of writing
git commit -m "Title \n\nMore Description"
git push
you can directly type
ctd -t "Title" -d "More Description" -p
or even select the files to stage before commiting
ctd -t "Title" -d "More Description" -f 'module/test.py' -p
of stage all files before comiting (be carefull though :))
ctd -t "Title" -d "More Description" -p --all
Install
Use either pipx to install
pipx install git+https://github.com/ahartlba/gitcy.git
or install the package in your python environment and use it there.
pip install gitcy
Commands
ctd
stands for Commit with Title and Description. Add title and additional description to your commit-msg. Additionally select files and push in one commandgundo
stands for gitcy undo ... which undoes last commit
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
gitcy-1.0.4.tar.gz
(3.6 kB
view details)
Built Distribution
gitcy-1.0.4-py3-none-any.whl
(5.5 kB
view details)
File details
Details for the file gitcy-1.0.4.tar.gz
.
File metadata
- Download URL: gitcy-1.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacf65353ef8b52855cdc7a1ded4192339a8b242718316b1783dec0f2ecd78a2 |
|
MD5 | 1cd301380a7d505fe3e8143f200fe893 |
|
BLAKE2b-256 | c1b5536d3dc1edfdc93e4c439c91ca3550bd717fdf75aa395de2cc5ffc2f62eb |
File details
Details for the file gitcy-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: gitcy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3095c6b9c5359f768f5e69390a7cfe35c510ca36eee91988373b7194a339e12d |
|
MD5 | 08e2d5032ab2b5dce618fe623c61ebe9 |
|
BLAKE2b-256 | ba53f7db3820f5276942d86d01fccd83ec95367806118b3b531be87e680cecf2 |