Created
March 27, 2020 11:50
-
-
Save tadeboro/b3429ee22abe0c69ae9b80febf9dc6e0 to your computer and use it in GitHub Desktop.
LOcal git clone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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