Commit ·
3a9c846
1
Parent(s): 00f03c1
updated
Browse files- lazygit.sh +12 -0
lazygit.sh
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
if [ $# -eq 0 ]
|
| 3 |
+
then
|
| 4 |
+
message="updated";
|
| 5 |
+
else
|
| 6 |
+
message=$1;
|
| 7 |
+
fi
|
| 8 |
+
echo "commit with message: $message";
|
| 9 |
+
|
| 10 |
+
git add -u .
|
| 11 |
+
git commit -m "$message"
|
| 12 |
+
git push
|