2016-10-07 04:49:21 +00:00
|
|
|
#!/bin/sh
|
2016-10-22 23:56:07 +00:00
|
|
|
# Run this before running './mu edit' or './mu sandbox' to make sure you don't
|
|
|
|
# lose any work.
|
2016-05-21 18:00:33 +00:00
|
|
|
#
|
|
|
|
# You'll be editing code in lesson/recipes.mu, and any sandboxes you create
|
|
|
|
# will be in lesson/0, lesson/1, etc., from top to bottom.
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
mkdir lesson
|
|
|
|
cd lesson
|
|
|
|
git init
|
2016-08-29 22:42:43 +00:00
|
|
|
echo '**/.*.swp' > .gitignore
|
2016-05-21 18:00:33 +00:00
|
|
|
git add .
|
|
|
|
git commit -m 0
|