Loading...

git checkout | fatal: ‘origin/main’ is not a commit and a branch ‘main’ cannot be created from it

git checkout | fatal: ‘origin/main’ is not a commit and a branch ‘main’ cannot be created from it
We have an Azure DevOps pipeline, and in one of the steps (see below), we trigger the git checkout command. We began encountering the following fatal error. Reason and Fix: 🙂

Published on:

Learn more
Rajeev Pentyala – Microsoft Power Platform
Rajeev Pentyala – Microsoft Power Platform

Sharing my knowledge on Power Platform, Dynamics 365, Azure & .Net Stack

Share post:

Related posts

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy