備忘録 はじめてのGitHub (テスト)
githubにて
- githubにアカウント登録。
- repositoryの作成。
開発環境(Mac+Vagrant+CentOS)
- sudo yum y install git
- git clone https://github.com/ユーザー名/リポジトリー名.git
- cd リポジトリー名
- テストで適当なファイルを作成。(例) vi hello.txt
- git add hello.txt
- git commit -m 'コミット時のメッセージ'
- git push
- ここで「error: The requested URL returned error: 403 Forbidden while accessing https://github********」というエラーが確認された場合・・・・参考URLを確認。
- git push
参考URL: d.hatena.ne.jp