$ git clone -n https://gitee.com/src-anolis-dde/kscreenlocker.git /var/lib/mock/dist-an23-dde-build-298228-65836/root/chroot_tmpdir/scmroot/kscreenlocker Cloning into '/var/lib/mock/dist-an23-dde-build-298228-65836/root/chroot_tmpdir/scmroot/kscreenlocker'... $ git reset --hard origin/a23 HEAD is now at 8b1e25d Specification spec file