parent
cbe9fcff08
commit
29b831259d
@ -1,8 +0,0 @@ |
||||
#!/bin/bash |
||||
echo |
||||
|
||||
echo -e "\e[0;33m> git status\e[0m" |
||||
echo |
||||
git status |
||||
|
||||
echo |
@ -1,8 +0,0 @@ |
||||
#!/bin/bash |
||||
echo |
||||
|
||||
echo -e "\e[0;33m> git pull origin master\e[0m" |
||||
echo |
||||
git pull origin master |
||||
|
||||
echo |
@ -1,40 +0,0 @@ |
||||
#!/bin/bash |
||||
|
||||
. check |
||||
|
||||
if [ -z "`git status --porcelain`" ] |
||||
then |
||||
echo -e "\e[0;31m Nothing to commit.\e[0m" |
||||
echo |
||||
exit |
||||
fi |
||||
|
||||
|
||||
echo -e "\e[0;32m Going to ADD all, COMMIT and PUSH.\e[0m" |
||||
echo -e "\e[0;32m Enter commit message (leave blank to abort).\e[0m" |
||||
echo |
||||
echo -n -e "\e[1;36m [msg]: \e[0m" |
||||
read msg |
||||
echo |
||||
|
||||
if [ -z "$msg" ] |
||||
then |
||||
echo -e "\e[0;31m Aborted.\e[0m" |
||||
echo |
||||
exit |
||||
fi |
||||
|
||||
echo -e "\e[0;33m> git add --all\e[0m" |
||||
echo |
||||
git add --all |
||||
echo |
||||
|
||||
echo -e "\e[0;33m> git commit -m \"$msg\"\e[0m" |
||||
echo |
||||
git commit -m "$msg" |
||||
echo |
||||
|
||||
echo -e "\e[0;33m> git push origin master\e[0m" |
||||
echo |
||||
git push origin master |
||||
echo |
Loading…
Reference in new issue