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