update
This commit is contained in:
12
scripts/commit.sh
Executable file
12
scripts/commit.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /workspace || exit 1
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 \"commit message\""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git add .
|
||||
git commit -m "$1"
|
||||
git push
|
||||
Reference in New Issue
Block a user