I\'m getting the warning
warning: You did not specify any refspecs to push, and the current remote
warning: has not configured any push refspecs. The default
The message you’re getting means that your remote repository is empty (which has nothing to do with being bare). When pushing into a remote repository for the first time you need to specify what to push:
git push origin master
This will push your current master branch to the remote repository. Subsequent invocations of git push will pushing “matching” branches, i.e. if there’s a “master” branch in the remote repository your local “master” branch will be pushed to it.