$ git clone -n https://gitee.com/src-anolis-os/python-rtslib.git /var/lib/mock/dist-an7-build-62997-34911/root/chroot_tmpdir/scmroot/python-rtslib Cloning into '/var/lib/mock/dist-an7-build-62997-34911/root/chroot_tmpdir/scmroot/python-rtslib'... $ git reset --hard origin/a7 HEAD is now at 1b5a65e !1 update version to errata Merge pull request !1 from xzyang/a7