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