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