$ git clone -n https://src.fedoraproject.org/rpms/tokyocabinet.git /var/lib/mock/f31-build-59880-28658/root/thebuilddir/tmp/scmroot/tokyocabinet Cloning into '/var/lib/mock/f31-build-59880-28658/root/thebuilddir/tmp/scmroot/tokyocabinet'... $ git reset --hard f346d59198df101e1206aac9956a83f94499b9c8 HEAD is now at f346d59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild