Skip to main content

A tool to simplfy git operations

Project description

GitEase

A tool to simplify git usage with sprinkles of AI magic.

Humans think in simpler terms than git operates in. This tool aims to bridge that gap by providing a simpler language to do common git tasks. Plus an LLM can write your commit messages for you.

You can load recent information with gs load, save current changes with gs save and share them with gs share.
Behind the scenes it's exactly what you would expect from git, but with a simpler interface.

Install

$ export OPENAI_API_KEY=...
$ pip install gitease
  • If OPENAI_API_KEY is not set, you will be prompted to enter a commit message manually.

Usage

Within a repo, run:

(.venv) $ ge --help
Commands:
  --help:  Show this message and exit.        
    save <message>: Add and commit files to git. Massage is genereated if not provided         
    share <message>: Share to remote - Add, commit and push changes to git. Massage is genereated if not provided
    load :  Pull recent updates from git
    message: Generate commit message from diff using AI.

## Basic Example
```bash
ge save

> Entering new StuffDocumentsChain chain...


> Entering new LLMChain chain...
Prompt after formatting:
Write a concise summary of the following:
...
> Finished chain.
Automated commit - 4 files:
 writing README.md new instructions.
gitease/__init__.py
gitease/cli.py
gitease/git.py
pyproject.toml

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

gitease-0.0.3.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

gitease-0.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file gitease-0.0.3.tar.gz.

File metadata

  • Download URL: gitease-0.0.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for gitease-0.0.3.tar.gz
Algorithm Hash digest
SHA256 afbc8597173bf9b33b35448dfe169f9a64769f7599032b6230c758c543c9586e
MD5 bb1693c2aea72b8bc7db1362d91aa659
BLAKE2b-256 dfe1f8392735776db5aff33beb8c2406f5da8a9f995bda68f8a00e4dabea0c64

See more details on using hashes here.

File details

Details for the file gitease-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gitease-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for gitease-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 572c77b98ab8188a6d7a248ad429174771a9fea917c502d8f06b97459ccaf906
MD5 45c1fc9078ab79e3a751e7083d101db8
BLAKE2b-256 d694498e47cf24f3423a589950699cd58bf0141e1561f816e790692832857e0d

See more details on using hashes here.

Supported by

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