$ git clone -n https://gitee.com/fundawang/fwupd.git /var/lib/mock/dist-an23-build-223363-62221/root/chroot_tmpdir/scmroot/fwupd Cloning into '/var/lib/mock/dist-an23-build-223363-62221/root/chroot_tmpdir/scmroot/fwupd'... $ git reset --hard 04ce070c93c1163f6cf36c67f43521607375f751 HEAD is now at 04ce070 1.8.12