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