$ git clone -n https://gitee.com/src-anolis-os/gstreamer1-plugins-bad-free.git /var/lib/mock/dist-an23-build-90124-45284/root/chroot_tmpdir/scmroot/gstreamer1-plugins-bad-free Cloning into '/var/lib/mock/dist-an23-build-90124-45284/root/chroot_tmpdir/scmroot/gstreamer1-plugins-bad-free'... $ git reset --hard fdf1151c50d9459b45102f0164a688e5d79d3585 HEAD is now at fdf1151 rebuild without extras