$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/net-tools.git /var/lib/mock/dist-an8.4-build-19594-8467/root/chroot_tmpdir/scmroot/net-tools Cloning into '/var/lib/mock/dist-an8.4-build-19594-8467/root/chroot_tmpdir/scmroot/net-tools'... $ git reset --hard origin/a8 HEAD is now at aeced06 update to net-tools-2.0-0.52.20160912git.el8.src.rpm