$ git clone -n https://src.fedoraproject.org/rpms/perl-smartmatch.git /var/lib/mock/f31-build-44600-26250/root/thebuilddir/tmp/scmroot/perl-smartmatch Cloning into '/var/lib/mock/f31-build-44600-26250/root/thebuilddir/tmp/scmroot/perl-smartmatch'... $ git reset --hard 4c2c2321467e05f4aaefcf03137254bfabe91c45 HEAD is now at 4c2c232 Perl 5.30 rebuild