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