Gitコマンド超ド基礎
全体のイメージ
https://storage.googleapis.com/zenn-user-upload/7dcbb4307833-20220706.png
とにかくたたけ
code:view status
git status
ローカルリポジトリを作成する
code:initialize
git init
ファイルをステージングする
code:staging
git add {ファイル名}
ファイル名のところを.とすることで変更されたすべてのファイルをStagedにする
コミットする
code:commit
git commit -m "コミットメッセージ"
Githubに送る
code:push(1回目)
git push -u origin
code:2回目移行のpushや、git clone したリポジトリはこれでOK
git push
code:clone
git clone {HTTPSまたはssh}