From 7998a942130cdf23d23a29ebe4364dc8c31d4903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz>
Date: Thu, 12 Jan 2017 16:31:36 +0100
Subject: [PATCH] modified colors.sh script

---
 colors.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/colors.sh b/colors.sh
index 3336f5101..00cf7388a 100644
--- a/colors.sh
+++ b/colors.sh
@@ -1,10 +1,10 @@
 for i in {"red","pink","purple","deep purple","indigo","blue","light blue","cyan","teal","green","light green","lime","yellow","amber","orange","deep orange","brown","grey","blue grey"}
 do
-  git pull --rebase origin colors
-  git pull --rebase 
   echo "Setting color to: $i, ${i/ /_}, color_${i/ /_}"
   #git checkout -b color_${i/ /_}
   git checkout color_${i/ /_}
+  git pull --rebase origin colors
+  git pull --rebase 
   sed -ri "s/(primary: ').*'/\1$i'/" mkdocs.yml
   #git cherry-pick bd8e358 
   git commit -am "Setting color to: $i"
-- 
GitLab