error: failed to push some refs to 'https://dev.azure.com/rohannayak/Training_repo/_git/Training_repo' code example
Example 1: error: failed to push some refs to
git pull --rebase origin main
git push origin main
Example 2: failed to push some refs to repository
git pull --rebase
git push