Skip to content

Instantly share code, notes, and snippets.

@harsh183
Created June 4, 2019 18:39
Show Gist options
  • Save harsh183/14e009252e6278df1c56ec1a50eb730b to your computer and use it in GitHub Desktop.
Save harsh183/14e009252e6278df1c56ec1a50eb730b to your computer and use it in GitHub Desktop.
#!/bin/bash
# This script is my standard create a new experiment for my new idea/side project/whatever that I normally seem to do. I can change this if I like as I move along.
set -e # Fail if one step fails
set -x # Print before execute
cd ~/Experiments/
mkdir $1
cd $1
echo "# README" > README.md
echo "# TODO" > TODO.md
git init
git add README.md
git commit -m 'Initalize repository'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment