$ git clone -n https://gitee.com/src-anolis-os/man-db.git /var/lib/mock/dist-an8.9-build-365332-71163/root/chroot_tmpdir/scmroot/man-db Cloning into '/var/lib/mock/dist-an8.9-build-365332-71163/root/chroot_tmpdir/scmroot/man-db'... $ git fetch origin 5623e5858422f9f286de6d75b54d2083ae0259d4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/man-db * [new ref] 5623e5858422f9f286de6d75b54d2083ae0259d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5623e58 add sw