$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/trousers.git /var/lib/mock/dist-an7-build-30537-15517/root/chroot_tmpdir/scmroot/trousers Cloning into '/var/lib/mock/dist-an7-build-30537-15517/root/chroot_tmpdir/scmroot/trousers'... $ git reset --hard origin/a7 HEAD is now at 317d8d4 import trousers-0.3.14-2.el7.src.rpm