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