Skip to content

Instantly share code, notes, and snippets.

@EmilienMottet
Created March 3, 2021 22:05
Show Gist options
  • Save EmilienMottet/d161963364054379703b65a63e92440d to your computer and use it in GitHub Desktop.
Save EmilienMottet/d161963364054379703b65a63e92440d to your computer and use it in GitHub Desktop.
#!/bin/sh
subtree_push(){
git subtree push -P "$1" git@github.com:EmilienMottet/exercism-"$1"-sol.git master
}
for dir in */; do
subtree_push "$( basename "$dir" )" 2> /dev/null &
done
for dir in */; do
wait
done &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment