$ git clone -n https://gitee.com/huoyuanhao/libproxy.git /var/lib/mock/dist-an8.6-build-126514-46180/root/chroot_tmpdir/scmroot/libproxy Cloning into '/var/lib/mock/dist-an8.6-build-126514-46180/root/chroot_tmpdir/scmroot/libproxy'... $ git reset --hard ed6fc05477d0a97ac005481f1c7282c0394ce50d HEAD is now at ed6fc05 update to 0.4.18