Skip to content

Instantly share code, notes, and snippets.

@dwallraff
Last active September 9, 2016 22:55
Show Gist options
  • Save dwallraff/202fab073cefd88860fc75334e936ac2 to your computer and use it in GitHub Desktop.
Save dwallraff/202fab073cefd88860fc75334e936ac2 to your computer and use it in GitHub Desktop.
setup git remote

on remote:

git init --share --bare repo.git

on local:

git init
git remote add origin ssh://[email protected]/~/repot.git
git push orgin master
git push origin 
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment