Skip to content

Instantly share code, notes, and snippets.

View whoabuddy's full-sized avatar

Jason Schrader whoabuddy

View GitHub Profile
@whoabuddy
whoabuddy / keybase.md
Created February 16, 2021 13:12
keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am whoabuddy on github.
  • I am whoabuddy (https://keybase.io/whoabuddy) on keybase.
  • I have a public key ASAElxGUq2b-WAuBna5qVb_viZJCLh9fIJ-jNnu4sPCt1Ao

To claim this, I am signing this object:

@whoabuddy
whoabuddy / ai_powered_git_commits.sh
Last active July 19, 2023 21:18
ai-commit-messages
View ai_powered_git_commits.sh
# OpenAI API key
export OPENAI_API_KEY="your-api-key"
# AI commit messages!
gitai() {
# Check if the current directory is a git repository
if ! git status > /dev/null 2>&1; then
echo "Not a git repository"
return
fi