$ git clone -n https://src.fedoraproject.org/rpms/perl-Text-Layout.git /var/lib/mock/f42-build-side-1-3499010-45964/root/chroot_tmpdir/scmroot/perl-Text-Layout Cloning into '/var/lib/mock/f42-build-side-1-3499010-45964/root/chroot_tmpdir/scmroot/perl-Text-Layout'... $ git fetch origin 6c6edfb50c419f99215c5b3d1de6f2416d71557d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/perl-Text-Layout * [new ref] 6c6edfb50c419f99215c5b3d1de6f2416d71557d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c6edfb Upgrade to upstream.