about summary refs log tree commit diff stats
path: root/new_lesson
blob: f7126e481f6ddeae9009530c8060f5bc6b9844a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# 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