$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/bridge-utils.git /var/lib/mock/dist-an7-build-27293-15153/root/chroot_tmpdir/scmroot/bridge-utils Cloning into '/var/lib/mock/dist-an7-build-27293-15153/root/chroot_tmpdir/scmroot/bridge-utils'... $ git reset --hard origin/a7 HEAD is now at 695bef5 import bridge-utils-1.5-9.el7.src.rpm