rake sync:submodules
change
commit f30f9154df0ae7fb95f4f9a3a3ec9325210886e3
author Alpha Chen <alpha@kejadlen.dev>
date
parent 0f3a85f9
diff --git a/Rakefile b/Rakefile
index 148e863f..67f397a0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -17,7 +17,8 @@ namespace :sync do
 
   desc "Sync submodules"
   task :submodules do
-    sh "git submodule update --init --recursive --remote"
+    sh "git submodule sync"
+    sh "git submodule foreach git pull"
   end
 
   desc "Sync puzzles from ~/Downloads"