I'm trying to push a Subgit created git local repository to remote GitHub without much luck.
I create the repo using subgit
$ subgit import --authors-file ./authors.txt --username svnuser --password svnpass https://foobar.com:8443/svn/StatDNA/git_migration/SparkDataSystem SparkDataSystem.git
IMPORT SUCCESSFUL
I then create the GitHub empty repo for the push at https://github.com/foobar/SparkDataSystem
$ cd SparkDataSystem.git
$ git remote add origin https://ghuser:ghpass@github.com/foobar/SparkDataSystem
$ git push origin --all --follow-tags
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
Everything up-to-date
$ git push origin master
error: src refspec master does not match any.
error: failed to push some refs
$ git push --set-upstream origin master
error: src refspec master does not match any.
I've also tried 'subgit configure; subgit install' route with the same results. I'm clearly missing a step to get this local git repo pushed to a remote repo on GitHub. Any ideas?