$ git clone -n https://gitee.com/xzyang-anolis8/dde.git /var/lib/mock/dist-an23-dde-build-330065-68958/root/chroot_tmpdir/scmroot/dde Cloning into '/var/lib/mock/dist-an23-dde-build-330065-68958/root/chroot_tmpdir/scmroot/dde'... $ git fetch origin a3043cbb796d0784958010cdb49c607528fdacbb:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis8/dde * [new ref] a3043cbb796d0784958010cdb49c607528fdacbb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a3043cb fix spec version