Why does my Project Sync fail with the error "Failed to download remote objects and refs... (non-fast-forward)"?

Solution Verified - Updated -

Issue

My Project's Source Control Update is failing with the following error message:

Failed to download remote objects and refs:  From <my SCM> ! [rejected]    main  -> origin/main  (non-fast-forward)

Environment

Ansible Automation Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content