$ git clone -n https://gitee.com/src-opencloudos-rpms/haproxy.git /var/lib/mock/dist-oc8-build-32026-9391/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-oc8-build-32026-9391/root/chroot_tmpdir/scmroot/haproxy'... $ git reset --hard aaeffcadf990e7686b39edc22e9ab2307f5a2b1d HEAD is now at aaeffca import haproxy-1.8.27-5.oc8