u++の備忘録

2019-01-18から1日間の記事一覧

gitでremote repositoryの特定のbranchをlocalに落とす

自分用のメモ。Pull Requestのレビュー時など、過去のコマンドから都度漁っていたので、まとめておく。 gitコマンド git fetch --prune git branch -r git ch -b local-name origin/remote-name 説明 git fetch --prune remote repositoryからデータを取得 -…