Skip to content

Instantly share code, notes, and snippets.

@goodylili
Last active June 8, 2023 13:39
Show Gist options
  • Save goodylili/103456a2358797036767dd47809febd9 to your computer and use it in GitHub Desktop.
Save goodylili/103456a2358797036767dd47809febd9 to your computer and use it in GitHub Desktop.
Helper file for pushing code to github with a commit message input
git add .
echo -n "🔊 What's the commit message 👉 "
read response
git commit -m "$response"
git push origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment