$ git clone -n https://src.fedoraproject.org/rpms/pam_radius.git /var/lib/mock/f41-build-side-1-2650348-27586/root/chroot_tmpdir/scmroot/pam_radius Cloning into '/var/lib/mock/f41-build-side-1-2650348-27586/root/chroot_tmpdir/scmroot/pam_radius'... $ git fetch origin 54cb86082cfc5d3f66465d5f376624b6960a0067:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/pam_radius * [new ref] 54cb86082cfc5d3f66465d5f376624b6960a0067 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 54cb860 - Rebase to version 3.0.0 - Remove all downstream patches as they are no longer needed