$ git clone -n https://gitee.com/src-anolis-os/fwupd.git /var/lib/mock/dist-an23-build-225309-62306/root/chroot_tmpdir/scmroot/fwupd Cloning into '/var/lib/mock/dist-an23-build-225309-62306/root/chroot_tmpdir/scmroot/fwupd'... $ git reset --hard origin/a23 HEAD is now at 8539747 1.8.12