Skip to content

Instantly share code, notes, and snippets.

@gate3
Created April 29, 2018 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gate3/eee4ed61953062ce0c04c472c02189d9 to your computer and use it in GitHub Desktop.
Save gate3/eee4ed61953062ce0c04c472c02189d9 to your computer and use it in GitHub Desktop.
Git push that requests user input for commit message
git add . && read -p "Input a message: " message && git commit -m "${message}" && git push
[Desktop Entry]
Exec=git add . && read -p "Input a message: " message && git commit -m "${message}" && git push
Terminal=true
Type=Application
Name[en_US]=push to git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment