$ git clone -n https://gitee.com/src-anolis-os/mdadm.git /var/lib/mock/dist-an23.3-build-423885-72930/root/chroot_tmpdir/scmroot/mdadm Cloning into '/var/lib/mock/dist-an23.3-build-423885-72930/root/chroot_tmpdir/scmroot/mdadm'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mdadm * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e21a9c0 Update to 4.3 from 4.2