Skip to content

Instantly share code, notes, and snippets.

@tadeboro
Created March 27, 2020 11:50
Show Gist options
  • Save tadeboro/b3429ee22abe0c69ae9b80febf9dc6e0 to your computer and use it in GitHub Desktop.
Save tadeboro/b3429ee22abe0c69ae9b80febf9dc6e0 to your computer and use it in GitHub Desktop.
LOcal git clone
#!/bin/bash
rm -rf x.git y
git init --bare x.git
git clone x.git y
cd y
echo bla > bla.txt
git add bla.txt
git commit -m "Add bla"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment