$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-yubico.git /var/lib/mock/dist-an7-build-30075-15459/root/chroot_tmpdir/scmroot/python-yubico Cloning into '/var/lib/mock/dist-an7-build-30075-15459/root/chroot_tmpdir/scmroot/python-yubico'... $ git reset --hard origin/a7 HEAD is now at e11a318 import python-yubico-1.2.3-1.el7.src.rpm