$ git clone -n https://gitee.com/src-anolis-os/qt5-qtlocation.git /var/lib/mock/dist-an23-build-335400-69664/root/chroot_tmpdir/scmroot/qt5-qtlocation Cloning into '/var/lib/mock/dist-an23-build-335400-69664/root/chroot_tmpdir/scmroot/qt5-qtlocation'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/qt5-qtlocation * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b2b657a rebuild