$ git clone -n https://gitee.com/wb-qtt862918/grep.git /var/lib/mock/dist-an23-build-181315-59703/root/chroot_tmpdir/scmroot/grep Cloning into '/var/lib/mock/dist-an23-build-181315-59703/root/chroot_tmpdir/scmroot/grep'... $ git fetch origin ff9e95d5a8b271ec0a15d486847065019e5558d3:KOJI_FETCH_HEAD From https://gitee.com/wb-qtt862918/grep * [new ref] ff9e95d5a8b271ec0a15d486847065019e5558d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ff9e95d spec: add doc sub package