On 12/3/19 4:38 PM, Dan Carpenter wrote:
> [ How do I fetch 0day git branchs?
> git fetch
https://github.com/0day-ci/linux/commits/Kefeng-Wang/debugfs-introduce-de...
> doesn't work. - dan ]
Hi Dan,
I can fetch it by the following steps:
nfs@shao2-debian:~/linux$ git remote add 0day-linux-review
https://github.com/0day-ci/linux.git
nfs@shao2-debian:~/linux$ git fetch --no-tags 0day-linux-review
Kefeng-Wang/debugfs-introduce-debugfs_create_single-seq-_data/20191129-173440
remote: Enumerating objects: 25261, done.
remote: Counting objects: 100% (25261/25261), done.
remote: Total 33246 (delta 25260), reused 25260 (delta 25260), pack-reused
7985
Receiving objects: 100% (33246/33246), 12.03 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (28148/28148), completed with 6149 local objects.
From
https://github.com/0day-ci/linux
* branch
Kefeng-Wang/debugfs-introduce-debugfs_create_single-seq-_data/20191129-173440
-> FETCH_HEAD
* [new branch]
Kefeng-Wang/debugfs-introduce-debugfs_create_single-seq-_data/20191129-173440
->
0day-linux-review/Kefeng-Wang/debugfs-introduce-debugfs_create_single-seq-_data/20191129-173440
Tracking a remote is unworkably slow on my system. It's way better to
try fetch a specific branch if possible.
regards,
dan carpenter