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