$ git clone -n https://src.fedoraproject.org/rpms/lockdev.git /var/lib/mock/f31-build-87640-31931/root/chroot_tmpdir/scmroot/lockdev Cloning into '/var/lib/mock/f31-build-87640-31931/root/chroot_tmpdir/scmroot/lockdev'... $ git reset --hard 542da3a364f2592e01f4b050f6ec1b0adf8dcf91 HEAD is now at 542da3a Remove obsolete scriptlets