Skip to main content

Git made easy

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitsy-2020.9.8.post3.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitsy-2020.9.8.post3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file gitsy-2020.9.8.post3.tar.gz.

File metadata

  • Download URL: gitsy-2020.9.8.post3.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gitsy-2020.9.8.post3.tar.gz
Algorithm Hash digest
SHA256 cbd2fc3aac46106da4eca709e72cb4f25039dc0d7d7cb9e256555e5a487990f5
MD5 db2943d6f474fe4215f8cab80b69a977
BLAKE2b-256 c9f289d08f467a80772bc1f7b91ba925a37123772667b6d66b005ce63730160a

See more details on using hashes here.

File details

Details for the file gitsy-2020.9.8.post3-py3-none-any.whl.

File metadata

  • Download URL: gitsy-2020.9.8.post3-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for gitsy-2020.9.8.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 01184e93eec2bfd7c955ab30966eec3a3349bb2292b64ac02fd2e58fa6f69025
MD5 89e99e00e3f57fb01f68a257787e54fd
BLAKE2b-256 69e0a7982a5f38accef46c5f2d76fe7f808aecb5a9c6b8d1b633084292331373

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page