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