$ git clone -n https://src.fedoraproject.org/rpms/perl-HTML-FormatText-WithLinks.git /var/lib/mock/f40-build-2229437-53147/root/chroot_tmpdir/scmroot/perl-HTML-FormatText-WithLinks Cloning into '/var/lib/mock/f40-build-2229437-53147/root/chroot_tmpdir/scmroot/perl-HTML-FormatText-WithLinks'... $ git fetch origin 68d164d29e788737367c9547708e8eae92acce45:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/perl-HTML-FormatText-WithLinks * [new ref] 68d164d29e788737367c9547708e8eae92acce45 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 68d164d Modernize spec file