$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tss2.git /var/lib/mock/dist-an7-build-30538-15517/root/chroot_tmpdir/scmroot/tss2 Cloning into '/var/lib/mock/dist-an7-build-30538-15517/root/chroot_tmpdir/scmroot/tss2'... $ git reset --hard origin/a7 HEAD is now at ef153a1 import tss2-1234-4.el7.src.rpm