新しいファイルのPushしてみる
作業フォルダーの作成
$ mkdir WorkGitHub $ cd WorkGitHub
新しいファイルを追加
$ touch README
変更ファイルを作業内容として追加
$ git add README
今回のコメントを登録
$ git commit -m 'first commit'
リポジトリを設定
$ git remote add origin https://github.com/xxxxx/TempPage.git
変更内容をサーバーへプッシュする
$ git push -u origin master [master (root-commit) 967a8f4] first commit 0 files changed create mode 100644 README
- READMEが新しく生成された