$ git clone -n https://gitee.com/src-anolis-os/nmstate.git /var/lib/mock/dist-an8.6-build-184058-60286/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-an8.6-build-184058-60286/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/nmstate * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 48ba705 spec: add doc sub package