- リモートリポジトリの情報を取得する
git fetch origin - 現在のブランチを最新の状態に更新する
git pull origin <branch_name> - 新しいブランチを作成して切り替える
git checkout -b <new_branch_name> - 目的のブランチをローカルにチェックアウトして作成
git checkout -b ローカルブランチ名 origin/リモートブランチ名 - aa
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme