Skip to content

Instantly share code, notes, and snippets.

@scheckley
Created February 20, 2023 10:38
Show Gist options
  • Save scheckley/cf7dc4bd5711f4e559f0d6eeaefab691 to your computer and use it in GitHub Desktop.
Save scheckley/cf7dc4bd5711f4e559f0d6eeaefab691 to your computer and use it in GitHub Desktop.
git push script
#!/bin/bash
# lifted from https://kevquirk.com/git-commit-and-push-script/
# alias push='~/git-push.sh'
read -p "Commit message: " desc
git add . && \
git add -u && \
git commit -m "$desc" && \
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment