$ git clone -n https://gitee.com/src-anolis-os/postfix.git /var/lib/mock/dist-an8-build-67625-37228/root/chroot_tmpdir/scmroot/postfix Cloning into '/var/lib/mock/dist-an8-build-67625-37228/root/chroot_tmpdir/scmroot/postfix'... $ git reset --hard origin/a8 HEAD is now at b7f0cf7 update to postfix-3.5.8-2.el8