$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libeasyfc.git /var/lib/mock/dist-an7-build-31718-15791/root/chroot_tmpdir/scmroot/libeasyfc Cloning into '/var/lib/mock/dist-an7-build-31718-15791/root/chroot_tmpdir/scmroot/libeasyfc'... $ git reset --hard origin/a7 HEAD is now at 55124d1 import libeasyfc-0.13.0-3.el7.src.rpm