Skip to main content

A simple git agent for managing git repositories

Project description

GitAgent

PyPI PyPI - Python Version PyPI - License

Git Agent for git operations automation

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
$ gcli --help
 Usage: gcli [OPTIONS]

 自动填写 commit 信息提交代码

╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *  --repo-dir                  TEXT  git 仓库目录 [default: None] [required]                                   │
│    --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


Download files

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

Source Distribution

oh_my_git_agent-1.0.16.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

oh_my_git_agent-1.0.16-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file oh_my_git_agent-1.0.16.tar.gz.

File metadata

  • Download URL: oh_my_git_agent-1.0.16.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/24.3.0

File hashes

Hashes for oh_my_git_agent-1.0.16.tar.gz
Algorithm Hash digest
SHA256 e59bae02baaba98564fea829cb1f9087075b1c26379d235cb658c8510a829d24
MD5 b4f93ef3e51b6e3c56c56802ac5ff2cf
BLAKE2b-256 ce6be802dd4d6c88d449952bc4bff6c04af3c87913bf2cf9998b0a7c533733af

See more details on using hashes here.

File details

Details for the file oh_my_git_agent-1.0.16-py2.py3-none-any.whl.

File metadata

  • Download URL: oh_my_git_agent-1.0.16-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 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

Hashes for oh_my_git_agent-1.0.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7a087b111f36fde64f41ce41590bccb3eb4b473837c1ef70d14854cf2b0f651b
MD5 d1fb6a6c0dc7e45a00ce0494585d446b
BLAKE2b-256 a947d8cd1d090c52cdf447e4ecdebdd53ee60e6d76933cf503f9a8fe7d389b37

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