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
- Get an openai api key
$ export OPENAI_API_KEY=...
$ pip install simpgit
- 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
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
gitease-0.0.2.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file gitease-0.0.2.tar.gz
.
File metadata
- Download URL: gitease-0.0.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3627aba6c2f172e9294f04160b84ab7a35f1942b0c092a76ef107d78aefa620 |
|
MD5 | dbcadba6e442fbcccff74563572a170b |
|
BLAKE2b-256 | fcf4c7c025930dd05492f54b70e59ffb015116b63ab3d668aa0ac4df5e2f59b8 |
File details
Details for the file gitease-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: gitease-0.0.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7692a3e553375d8410de43dbf98d4124b4fae34fc9fa5681f847ac480c16137 |
|
MD5 | b5c14f1a25066096351f1a55a0f549c4 |
|
BLAKE2b-256 | aef95e47652f1aaed6b1ff846b4d568bc5550f59e7fe69b6ef6a11350ad9e7fa |