Skip to main content

Build Status PyPI version

Gitsy - Git made easy!

NOTICE: gitsy is still very much under construction, I'll notify when a standard beta version is ready.

Gitsy is a supplementary CLI to git for a better git flow and git experience.

I started it to enhance my git productivity and answer 4 main use cases:

  1. Fast commits - a combination of git's add, commit and push.
  2. Undo changes - easily undo all changes made to a file, whether it was staged or unstaged.
  3. Easy branch hopping - move between branches, even if you have unstaged changes, without having to stage them.
  4. Simplify git ignore resetting - that annoying thing where you accidentally pushed something you wanted ignored.

Other then that I've added some interactiveness to the git flow - selectors, checkboxes, prompts, etc.

Installation

Use the package manager pip to install foobar.

pip install gitsy

Usage

gitsy can be used in a globaly with no context (out-of-the-box) or in a branch context.

No context:

# git add .
# git commit -m "commit message"
# git push 

# IS NOW:
gitsy up "commit message" 

# Notes:
# - Commit message is optional (defaulted to 'fast commit').
# - Auto handles the case of setting remote origin for new branches.

Alt text

# To undo changes in an unstaged changed file:
gitsy undo file_1.py 
# To pick a file just drop the file's name:
gitsy undo

Alt text

# for staged files use:
gitsy regret

# ... 

Branch context:

  • TBD

Built with

  • google-fire
  • gitpython
  • inquirer
  • emoji

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Local dev environment

  • TBD

License

MIT

Metadata

Release files for gitsy 2020.9.8.post6

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

Source distribution (sdist)

Source distribution for gitsy 2020.9.8.post6
File Size Uploaded
gitsy-2020.9.8.post6.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gitsy 2020.9.8.post6
File Interpreter ABI Platform
gitsy-2020.9.8.post6-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / gitsy-2020.9.8.post6.tar.gz

Download URL gitsy-2020.9.8.post6.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dd5d7abb010a4df946f0d7b38447f6dfef8c393dd8e54b5b2c497525244ff0d6
BLAKE2b-256 checksum
How to use checksums
b9810e49abba3bbdbf9dcd29ecc47a00733db24084aa6bb237fcc662c9165699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / gitsy-2020.9.8.post6-py3-none-any.whl

Download URL gitsy-2020.9.8.post6-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a11a1902f1b5c9c609b37861d3e83ba23b8bbdf9ea0e609d0f6427ee33f1be80
BLAKE2b-256 checksum
How to use checksums
4a322e79b6cf7b434c1477b5130038fa706a32b9ea68181d990b0df08995f62d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
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