$ git clone -n https://gitee.com/src-anolis-dde/deepin-menu.git /var/lib/mock/dist-an23-dde-build-302616-65994/root/chroot_tmpdir/scmroot/deepin-menu Cloning into '/var/lib/mock/dist-an23-dde-build-302616-65994/root/chroot_tmpdir/scmroot/deepin-menu'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-dde/deepin-menu * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9ce8200 Specification spec file