Skip to content

Instantly share code, notes, and snippets.

View Mustafa-khann's full-sized avatar
💻
Cooking

Mustafa khan Mustafa-khann

💻
Cooking
View GitHub Profile
# -----------------------------------------------------------------------------
# AI-powered Git Commit Function
# gets the current staged changed diff
# sends that to the LLM, and generates a message.
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command. It:
# the `llm` CLI util is awesome, can get it here: https://llm.datasette.io/en/stable/
# The command is "gcm"