$ git clone -n https://gitee.com/src-anolis-os/mtools.git /var/lib/mock/dist-an23.3-build-424480-72934/root/chroot_tmpdir/scmroot/mtools Cloning into '/var/lib/mock/dist-an23.3-build-424480-72934/root/chroot_tmpdir/scmroot/mtools'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mtools * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at abc2b00 update to 4.0.43 from 4.0.42