Skip to content

Instantly share code, notes, and snippets.

@betzerra
Created August 22, 2012 01:00
Show Gist options
  • Save betzerra/3421052 to your computer and use it in GitHub Desktop.
Save betzerra/3421052 to your computer and use it in GitHub Desktop.
Steps to initialise a git repository and push to an existing remote repository
git init
git remote add origin https://github.com/username/Hello-World.git
#make some commits here
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment