$ git clone -n https://gitee.com/zhoujiajia111/netcdf.git /var/lib/mock/dist-an23-build-443918-73188/root/chroot_tmpdir/scmroot/netcdf Cloning into '/var/lib/mock/dist-an23-build-443918-73188/root/chroot_tmpdir/scmroot/netcdf'... $ git fetch origin 9ad45df85fcec8525758c9a5c332cff06a7d9fa3:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/netcdf * [new ref] 9ad45df85fcec8525758c9a5c332cff06a7d9fa3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9ad45df update netcdf.spec.