$ git clone -n https://gitee.com/src-anolis-os/python-rpm-generators.git /var/lib/mock/dist-an8-build-63581-35498/root/chroot_tmpdir/scmroot/python-rpm-generators Cloning into '/var/lib/mock/dist-an8-build-63581-35498/root/chroot_tmpdir/scmroot/python-rpm-generators'... $ git reset --hard origin/a8 HEAD is now at ef08ad4 update to python-rpm-generators-5-7.el8