$ git clone -n https://gitee.com/gaohongmei/libxshmfence.git /var/lib/mock/dist-an8.6-build-216100-61928/root/chroot_tmpdir/scmroot/libxshmfence Cloning into '/var/lib/mock/dist-an8.6-build-216100-61928/root/chroot_tmpdir/scmroot/libxshmfence'... $ git reset --hard 217fe4eb79931c505b059c743eb4332e3cf5ef5c HEAD is now at 217fe4e 1.3.2