Created
February 20, 2023 10:38
-
-
Save scheckley/cf7dc4bd5711f4e559f0d6eeaefab691 to your computer and use it in GitHub Desktop.
git push script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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