$ git clone -n https://gitee.com/src-anolis-os/kexec-tools.git /var/lib/mock/dist-an23-build-108488-45716/root/chroot_tmpdir/scmroot/kexec-tools Cloning into '/var/lib/mock/dist-an23-build-108488-45716/root/chroot_tmpdir/scmroot/kexec-tools'... $ git reset --hard 8457727e49d1761d343541f449ffecb61e80c643 HEAD is now at 8457727 update to latest version 2.0.25