$ git clone -n https://gitee.com/src-anolis-os/glusterfs.git /var/lib/mock/dist-an8-build-65621-37182/root/chroot_tmpdir/scmroot/glusterfs Cloning into '/var/lib/mock/dist-an8-build-65621-37182/root/chroot_tmpdir/scmroot/glusterfs'... $ git reset --hard origin/a8 HEAD is now at be92df1 update to glusterfs-6.0-56.4.el8