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