Auto-stage after minimize, continue rebase if no conflicts
This commit is contained in:
parent
f614730e38
commit
5a6982e093
1 changed files with 7 additions and 0 deletions
|
@ -60,3 +60,10 @@ echo " Minimizing CSS..";
|
||||||
#fi
|
#fi
|
||||||
echo " Done.";
|
echo " Done.";
|
||||||
echo "Done.";
|
echo "Done.";
|
||||||
|
git add min
|
||||||
|
echo "Staged."
|
||||||
|
CONFLICTS=`git diff --name-only --diff-filter=U`
|
||||||
|
if [ -z "$CONFLICTS" ] ; then
|
||||||
|
git status | grep "rebase in progress" > /dev/null && echo "No more conflicts; continuing rebase!" && git rebase --continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue