Githubのpush手順の備忘録
1.初回のみgithubで新規リポジトリを作る
2.ローカルで準備任意のフォルダで実行初期設定(初回のみ)git initファイルを追加git add .コミットgit commit -m "first commit"
3.Githubとの接続(初回のみ)git remote add origin "githubのURL"
4.pushするブランチ名を確認するgit branch確認したブランチ名でpushするgit push -u origin ブランチ名
-uはこのブランチの送り先を記憶させるオプションこれをやると次回からgit pushだけでokになる。