$ git clone -n https://src.fedoraproject.org/rpms/libdmapsharing.git /var/lib/mock/f31-build-58460-28455/root/chroot_tmpdir/scmroot/libdmapsharing Cloning into '/var/lib/mock/f31-build-58460-28455/root/chroot_tmpdir/scmroot/libdmapsharing'... $ git reset --hard 00159e26b922c90ece3d8cb8c4a2714670f4853c HEAD is now at 00159e2 Fix copy-paste typo