$ git clone -n https://github.com/xcp-ng-rpms/xs-opam-repo.git /var/lib/mock/v8.2-base-2709-2157/root/chroot_tmpdir/scmroot/xs-opam-repo Cloning into '/var/lib/mock/v8.2-base-2709-2157/root/chroot_tmpdir/scmroot/xs-opam-repo'... $ git reset --hard 2262cc76a87a90c3147e934218ba711818e8737b fatal: Could not parse object '2262cc76a87a90c3147e934218ba711818e8737b'.