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