$ git clone -n https://src.fedoraproject.org/rpms/lshw.git /var/lib/mock/f31-build-48795-27197/root/thebuilddir/tmp/scmroot/lshw Cloning into '/var/lib/mock/f31-build-48795-27197/root/thebuilddir/tmp/scmroot/lshw'... $ git reset --hard c207aaec3682f8dc54e4664ac579b503f4d03c36 HEAD is now at c207aae Update to commit 6cc0581