about summary refs log tree commit diff stats
path: root/new_lesson
blob: 9c18ecdb29aa5f8c01d6cee728b035ca9c487c8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# Run this before a fresh project for 'mu edit' or 'mu sandbox' to make sure
# you don't lose any work.
#
# 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
echo '**/.*.swp' > .gitignore
git add .
git commit -m 0