david/myzsh
david
/
myzsh
Archived
1
0
Fork 0

autopush by david@ghost

This commit is contained in:
david 2017-10-04 00:00:16 +02:00
parent 5a7010717a
commit 5de4bcea44
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ fi
if [[ -n $(git status -s ${SUBMODULE_SYNTAX} 2> /dev/null) ]]; then
echo -n "[myzsh]: local myzsh repo is dirty. commit and push changes? [y/n]"
read choice
if [ -z $choice ] || [ $choice = "y" ]; then
if [ -n $choice ] && [ $choice = "y" ]; then
git add **/*[^lastrun]
git commit -am "autopush by $(whoami)@$(hostname)"
git push origin master