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