Skip to content

Instantly share code, notes, and snippets.

@hz9xa
Created August 11, 2013 22:13
Show Gist options
  • Select an option

  • Save hz9xa/6207131 to your computer and use it in GitHub Desktop.

Select an option

Save hz9xa/6207131 to your computer and use it in GitHub Desktop.
#Git; initialize a nonempty git repository
cd <localdir>
git init
git add .
git commit -m 'message'
git remote add origin <url>
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment