Skip to main content

A simple CLI tool that shows a random useful Git tip.

Project description

git-tips-cli

A simple CLI tool that shows you random useful Git tips to improve your daily Git workflow.

git-tips-cli

🧠 A simple CLI tool that shows you random useful Git tips
📘 Great for learning Git little by little every day!

License: MIT


🚀 Features

  • 📌 Shows a random Git tip every time you run git-tips
  • 🗂️ Tip list stored in JSON (easy to edit/extend)
  • 🌐 Supports Japanese descriptions
  • 🧩 Easy to install & use

📦 Installation

pip install git-tips-cli

Or if you're developing locally:

git clone https://github.com/your-username/git-tips-cli.git
cd git-tips-cli
pip install -e .

🔧 Usage

git-tips

Example output:

📌 git log --oneline
ログを1行ずつ簡潔に表示します。

📁 Example Tip Data (tips.json)

[
  {
    "command": "git diff --staged",
    "description": "ステージングされた変更の差分を表示します。"
  },
  {
    "command": "git restore .",
    "description": "作業ツリーの変更をすべて元に戻します。"
  }
]

📥 Contributing

Got a favorite Git tip? PRs welcome!

  1. Fork this repo
  2. Add your tip to tips.json
  3. Submit a Pull Request 🙌

🪪 License

This project is licensed under the MIT License.
See the LICENSE file for details.

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

git_tips_cli-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

git_tips_cli-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file git_tips_cli-0.1.0.tar.gz.

File metadata

  • Download URL: git_tips_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for git_tips_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ba02afea4e77f1495862d788b34af12a7f6b3a5239739fe1d570c3459ac355a
MD5 60070b5625f9dffb17651278aeb1cced
BLAKE2b-256 16be3d9601c80a37476d997e162acc12ccac9838ec1f612c83ad0335f02e6970

See more details on using hashes here.

File details

Details for the file git_tips_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: git_tips_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for git_tips_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db0dfa482d8a7a7540a952ba405e0a36151f2d4c0d01a63c31cd8047f98dab7d
MD5 d5e023817290be118544a56add87bc3c
BLAKE2b-256 a950f224aca569c20dc67738cd4e62ae238b91d10f0f5336ba566b36c881c14a

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