🐕
Git機能別コマンドまとめ
ステージング、コミット、プッシュ
git add .
全てのファイルをステージング。
git commit -am "[コミットメッセージ]"
ステージングされている全てのファイルをコミット。
git push origin develop
develop環境にコミットされたファイルをリモートリポジトリにpush。
git status
gitの状態を確認。
プル
git pull
githubの変更を取り込む。
マージ(ローカル環境では基本使わない。)
git checkout master
masterブランチに移動。
git merge develop
develop環境のファイルをマージ。
Discussion