Git hubに登録したので、Gitコマンドを忘れないようにメモしておく。
はじめに
事前にGitをインストールする
Windowsの場合はGit bashを使ってユーザを登録する
$ git config --global user.name "xxxx"
$ git config --global user.email "xxxxxx@gmail.com"
ブランチをクローンする
Git hubのコードURLをコピーし、'git clone'する
$ git clone https://github.com/XXXX/XXXXXX.git
ブランチへプッシュする
コードを修正したら、コミットメッセージを記入して、プッシュする
$ git commit -m " コメント"
$ git push
※pushする際にpushするブランチを指定する方法があったと思うが、それは忘れた。