$ git clone -n https://gitee.com/src-anolis-os/libappstream-glib.git /var/lib/mock/dist-an23-build-203640-61051/root/chroot_tmpdir/scmroot/libappstream-glib Cloning into '/var/lib/mock/dist-an23-build-203640-61051/root/chroot_tmpdir/scmroot/libappstream-glib'... $ git reset --hard 061bad12834a9a640efc39c8d342283c50af2c9d HEAD is now at 061bad1 0.8.2