Updated script
This commit is contained in:
parent
1d7fb9b48f
commit
7bccbd4e4b
1 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
#!/bin/sh
|
||||
git commit -am "-"
|
||||
|
||||
read -p "Enter commit message (or leave blank for default): " commit_message
|
||||
|
||||
if [ -z "$commit_message" ]; then
|
||||
commit_message="More work"
|
||||
fi
|
||||
|
||||
git commit -am "$commit_message"
|
||||
git push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue