Azure環境下で「git push origin ~」をした際に、下記のエラーが出てしまったためメモ。
環境
Windows11
Azure
エラー内容
fatal: Cannot determine the organization name for this ‘dev.azure.com’ remote URL.
Ensure the ‘credential.useHttpPath’ configuration value is set,
or set the organization name ase the user in the remote URL ‘{org}@dev.azure.com’.
解決方法
credential.useHttpPathをtrueに設定
下記を打ち込めば解決
git config --global credential.useHttpPath true