Skip to content

Instantly share code, notes, and snippets.

@janniklorenz
Created March 11, 2016 19:28
Show Gist options
  • Select an option

  • Save janniklorenz/b6c2a2b6f2167061328e to your computer and use it in GitHub Desktop.

Select an option

Save janniklorenz/b6c2a2b6f2167061328e to your computer and use it in GitHub Desktop.
#!/bin/bash
# Create path to repo
mkdir -p "$1.git"
# Create Bare Repo
git --git-dir "$1.git" --bare init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment