As a part of deployment process in Microsoft Azure Devops ,when we trying to export from dev solution. I am getting the following error message in command line script while running the pipeline in Azure Devops.
After repro all the steps I found 2 solution that resolves this error.
Make sure you check this option to allow scripts to access the OAuth token.
Add below command in your command line script
git push Origin HEAD:main
Please share your kind feedback in the comments section. For any query, feel free to Contact us or email us on [email protected]