$ git clone -n https://src.fedoraproject.org/rpms/cockpit.git /var/lib/mock/f41-build-813500-148684/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/f41-build-813500-148684/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin ba4a9c915a7b7091b4b086816c468eee6b56f2fe:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cockpit * [new ref] ba4a9c915a7b7091b4b086816c468eee6b56f2fe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba4a9c9 Update to 321 upstream release