Git Agent for git operations automation. It will commit file by file on day by day, to make sure you have a commit every day.
Project description
GitAgent
Git Agent for git operations automation.
It will commit file by file on day by day, to make sure you have a commit every day.
Installation
pip install oh-my-git-agent
Usage
# You can call gcli. Default is to commit at current directory
gcli
# You can specify the repo-dir and call gcli at any where
gcli --repo-dir .
# You can use ai to generate commit message. Default provider is DeepSeek
gcli --ai --api-key sk-xxx --repo-dir .
# or use openai to generate commit message
gcli --ai --base-url null --api-key sk-xxx --repo-dir .
# After committing, you can push code to remote
git push origin main
Full Documentation:
$ gcli --help
Usage: cli.py [OPTIONS]
自动填写 commit 信息提交代码
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --repo-dir TEXT git 仓库目录 [default: .] │
│ --ai --no-ai 是否使用 AI 填写 commit 信息 [default: no-ai] │
│ --api-key TEXT OpenAI API Key [default: None] │
│ --base-url TEXT OpenAI API URL [default: https://api.deepseek.com] │
│ --model TEXT OpenAI Model [default: deepseek-chat] │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oh_my_git_agent-1.0.23.tar.gz.
File metadata
- Download URL: oh_my_git_agent-1.0.23.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08af94e8a66b3d5798411bc0f2f7b49d1009849f09726d5ad0c600e99ae8d510
|
|
| MD5 |
d27213a05dc6c9c8f23a735e1ece7c52
|
|
| BLAKE2b-256 |
19df8fdbcb46dbef53cb7b3dd965a217b5b7fb83b114466f4f4751e97e1bc1be
|
File details
Details for the file oh_my_git_agent-1.0.23-py2.py3-none-any.whl.
File metadata
- Download URL: oh_my_git_agent-1.0.23-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f5a75a2b90f946ff390ebc21c6c70a72877065d20b8d3ced7c48d8cc36129ac
|
|
| MD5 |
7f5b2b625551fd6b540f30e8481b05dc
|
|
| BLAKE2b-256 |
b3cbab1ba1fa416ada1584ceea8f7b3dac618a0555ba9f95e3dd825a27f8d036
|