1. John Strano
  2. PowerBuilder
  3. Tuesday, 31 May 2022 11:01 AM UTC
Git for Windows v2.36.1.windows.1
PowerBuilder 2021 Build 1509
MS VS TFS 15.117.27024.0
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.exe push --progress "origin" development:development
git: 'credential-manager' is not a git command. See 'git --help'.
The most similar command is
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)
Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Tuesday, 31 May 2022 13:05 PM UTC
  2. PowerBuilder
  3. # 1

This is just one of the many reasons I would not recommend using PB to directly interact with git at all. There's zero feedback if things go wrong and functions are named confusingly. "Git Revert" in PB does not actually do a git revert, it does a git restore. "Git Resolve" just blindly marks conflicted files as resolved, leading to utterly broken code unless you use an external conflict editor or manually solve the conflict in edit source first.

There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.