$ git clone -n https://src.fedoraproject.org/rpms/libedit.git /var/lib/mock/f31-build-58515-28459/root/chroot_tmpdir/scmroot/libedit Cloning into '/var/lib/mock/f31-build-58515-28459/root/chroot_tmpdir/scmroot/libedit'... $ git reset --hard 08506bd46d2b016af250c4aec6a0c624ad35eaf4 HEAD is now at 08506bd New version (20190324-3.1), fixes bz 1677247.