$ git clone -n https://gitee.com/xzyang-anolis8/kscreenlocker.git /var/lib/mock/dist-an23-dde-build-330178-68958/root/chroot_tmpdir/scmroot/kscreenlocker Cloning into '/var/lib/mock/dist-an23-dde-build-330178-68958/root/chroot_tmpdir/scmroot/kscreenlocker'... $ git reset --hard 30905e27d10cbc4e11d333c3cfa3c1187430c201 HEAD is now at 30905e2 fix spec version