$ git clone -n https://src.fedoraproject.org/rpms/cgit.git /var/lib/mock/f31-build-64162-29508/root/thebuilddir/tmp/scmroot/cgit Cloning into '/var/lib/mock/f31-build-64162-29508/root/thebuilddir/tmp/scmroot/cgit'... $ git reset --hard 81966f879d5c972298cf466626e136bf4a004630 HEAD is now at 81966f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild