$ git clone -n https://gitee.com/yan1hcdc/vim.git /var/lib/mock/dist-an23-build-478940-74203/root/chroot_tmpdir/scmroot/vim Cloning into '/var/lib/mock/dist-an23-build-478940-74203/root/chroot_tmpdir/scmroot/vim'... $ git fetch origin 275dd0186130198ff7fc2374cf682976e26459da:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/vim * [new ref] 275dd0186130198ff7fc2374cf682976e26459da -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 275dd01 turning gcc errors back into warnings