$ git clone -n https://gitee.com/wb-qtt862918/libgcrypt.git /var/lib/mock/dist-an8.7-build-261981-63788/root/chroot_tmpdir/scmroot/libgcrypt Cloning into '/var/lib/mock/dist-an8.7-build-261981-63788/root/chroot_tmpdir/scmroot/libgcrypt'... $ git reset --hard ebd87bd5ff678341d30ade278328f9b6a9f6e86c HEAD is now at ebd87bd 1.10.2