Skip to content

Can't push updates to my own fork

I created a fork of memorials, submitted a couple of merge requests that have been merged, but now the fork won't allow me to push updates from the origin to my fork.

This is my history:

$ git log --oneline 
959bb91 (HEAD -> main) Fix typo I introduced in last commit
c3ff918 (origin/main, origin/HEAD) Merge branch 'MikhailKhodjaiants' into 'main'
78b3455 Merge branch 'Dani' into 'main'
5a28489 add to in memory of Dani
d98996a add Mikhail Khodjaiants
e30faa4 (jonah/main) Merge branch 'index' into 'main'
11b825a Create start index, add Daniel Megert memory
7f09894 initial commit

With these details on origin and jonah:

$ git remote show origin 
* remote origin
  Fetch URL: git@gitlab.eclipse.org:eclipsefdn/memorials.git
  Push  URL: git@gitlab.eclipse.org:eclipsefdn/memorials.git
  HEAD branch: main
  Remote branches:
    cguindon/master/sort-by-lastname tracked
    main                             tracked
  Local branch configured for 'git pull':
    main merges with remote main
  Local ref configured for 'git push':
    main pushes to main (fast-forwardable)

jonah@jonah-xps13 /scratch/eclipse/src/memorials (main) ()
[2036] 15:10:38 $ git remote show jonah
* remote jonah
  Fetch URL: git@gitlab.eclipse.org:jograham/memorials.git
  Push  URL: git@gitlab.eclipse.org:jograham/memorials.git
  HEAD branch: main
  Remote branches:
    cguindon/master/sort-by-lastname tracked
    main                             tracked
  Local ref configured for 'git push':
    main pushes to main (fast-forwardable)

But when I try to push to update my branch or create a new merge request I get errors which look like overzealous ECA checks?

$ git push jonah main:main
Enumerating objects: 16, done.
Counting objects: 100% (16/16), done.
Delta compression using up to 8 threads
Compressing objects: 100% (13/13), done.
Writing objects: 100% (13/13), 2.11 KiB | 2.11 MiB/s, done.
Total 13 (delta 7), reused 0 (delta 0), pack-reused 0
remote: GitLab: You cannot push commits for 'denis.roy@eclipse-foundation.org'. You can only push commits that were committed with one of your own verified emails.
To gitlab.eclipse.org:jograham/memorials.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'gitlab.eclipse.org:jograham/memorials.git'