Git(鍵認証でハマるところ)
@:Vagrant $ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
このエラーが出てくるとめんどくさい。
単純に原因はリモートレポジトリ自体がないか、鍵の認証がうまくいってない場合が多い。
基本的な問題点:ローカル (mac側)とリモート(vagrantなどの仮想環境)の公開鍵、秘密鍵が同じものになっていない。もしくは設定されていない。
このサイトがとても参考になった。