$ git clone -n https://gitee.com/src-anolis-os/motif.git /var/lib/mock/dist-an8.7-build-271241-64130/root/chroot_tmpdir/scmroot/motif Cloning into '/var/lib/mock/dist-an8.7-build-271241-64130/root/chroot_tmpdir/scmroot/motif'... $ git fetch origin edde0275dfbb6fab613182fc48678622de7d2ba4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/motif * [new ref] edde0275dfbb6fab613182fc48678622de7d2ba4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at edde027 update to motif-2.3.4-19.el8