Git for Windows v2.36.1.windows.1
PowerBuilder 2021 Build 1509
MS VS TFS 15.117.27024.0
TortoiseGit 2.13.0.1
Issuing a Git Push from PowerBuilder to a branch set to protected using TFS...
*** Tortoise Git displays an error from Git for Windows while PowerBuilder does not display this error in the Output pane.
GIT FOR WINDOWS OUTPUT DISPLAYED BY TortoiseGit...
git.exe push --progress "origin" development:development
git: 'credential-manager' is not a git command. See 'git --help'.
The most similar command is
credential-manager-core
Enumerating objects: 40, done.
Counting objects: 100% (35/35), done.
Delta compression using up to 12 threads
Compressing objects: 100% (22/22), done.
Writing objects: 100% (22/22), 8.98 KiB | 195.00 KiB/s, done.
Total 22 (delta 16), reused 0 (delta 0), pack-reused 0
remote: Analyzing objects... (22/22) (150 ms)
remote: Storing packfile... done (24 ms)
remote: Storing index... done (33 ms)
To http://tfssvr/tfs/<collection_name>/<repository_name>/_git/<app_name>
! [remote rejected] development -> development (TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.)
error: failed to push some refs to '
error: failed to push some refs to 'http://tfssvr/tfs/<collection_name>/<repository_name>/_git/<app_name>'
git did not exit cleanly (exit code 1) (15235 ms @ 5/27/2022 4:24:00 PM)