入力すると
git branch -avv
すべてのブランチのリストが表示されます:ローカルおよびリモートのもの
git branch -avv
master 2fa4d6c [origin/master] RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'.
remotes/origin/HEAD -> origin/master
remotes/origin/master 2fa4d6c RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'.
remotes/origin/zpm 37aadc6 Change bootargs to use rootfs at mtdblock2
remotes/origin/zpm_16MB 1f82630 fixed error in macro concatenations with just hardcoded values
remotes/origin/zpm_dev 115d973 changed CONFIG_LPC178X_PLL0_PSEL to 1
remotes/origin/zpm_pulse cd2f813 changes for 16MB RAM
問題は、リモート リポジトリが利用できなくなり、ローカル コピーしかない場合、リモート ブランチ remotes/origin/zpm_pulse を取得できますか? (origin/zpm_pulse にはブランチが設定されていません)。
したがって、ローカル ブランチ zpm_pulse を作成し、それをアップストリーム ブランチにバインドすると、次のように表示されます。
2fa4d6c [origin/zpm_pulse: behind 27] RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'.
その後、オリジンはもう存在しないため、もちろんオリジンからフェッチすることはできません。では、git はリモート ブランチを内部のどこかに保存するのでしょうか?