Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Last active September 2, 2016 12:32
Show Gist options
  • Save sirkirby/9063460 to your computer and use it in GitHub Desktop.
Save sirkirby/9063460 to your computer and use it in GitHub Desktop.
commit files and add a remote
:: from the root, add and commit any new files
git add .
git commit -a -m "initial commit after conversion"
:: add my github remote
git remote add origin https://github.com/sirkirby/myrepo.git
:: send the 'master' branch to the new 'origin' remote
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment