Ранее я делал мелкое клонирование git с параметром --depth 1.
После этого я хочу получить конкретную ветку с удаленного устройства с глубиной 10 и оформить заказ на эту ветку.
Я могу получить ветку с удаленного компьютера, но ветка не отображается в git branch -a
Лог после замены личной информации ниже
User@PC-NAME MINGW64 /d/Folder/application (master)
$ git fetch --depth 10 origin branchname
remote: Counting objects: 18624, done.
remote: Compressing objects: 100% (10327/10327), done.
remote: Total 18624 (delta 12993), reused 12045 (delta 7599)
Receiving objects: 100% (18624/18624), 530.73 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (12993/12993), completed with 3067 local objects.
From 10.100.x.x:Repository/application
* branch branchname -> FETCH_HEAD
User@PC-NAME MINGW64 /d/Folder/application (master)
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master