Skip to content

Instantly share code, notes, and snippets.

@chris-gunawardena
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-gunawardena/c88a0d11e0e59368ec45 to your computer and use it in GitHub Desktop.
Save chris-gunawardena/c88a0d11e0e59368ec45 to your computer and use it in GitHub Desktop.
git init test_1
cd test_1
echo "test file 1 content" > test1.txt
git add -A
git commit -m "Test file 1 commit"
git remote add origin git@github.com:chris-gunawardena/test-git-repo.git
git push
cd..
git init test_2
cd test_2
echo "test file 2 content" > test2.txt
git add -A
git commit -m "Test file 2 commit"
git remote add origin git@github.com:chris-gunawardena/test-git-repo.git
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment