$ git clone -n https://src.fedoraproject.org/rpms/ddd.git /var/lib/mock/f31-build-51248-27496/root/chroot_tmpdir/scmroot/ddd Cloning into '/var/lib/mock/f31-build-51248-27496/root/chroot_tmpdir/scmroot/ddd'... $ git reset --hard c615c423c84c942edd84254c2b6474d90e487ed5 HEAD is now at c615c42 Fix FTBFS.