1. Thomas Rolseth
  2. PowerBuilder
  3. Thursday, 14 May 2020 14:43 PM UTC

I created a new branch for our application code (PB 2019 R2, Windows 10, SQL Server) in TortoiseGit.  I was able to switch to the new branch and PB recognized it the next time I opened the IDE.  Commits and pushes on the new branch have worked fine so far.  The repo and new branch is hosted in GitLab.

There is another developer who needs to switch to this new branch so that both of us are working on it.  How is that done?  We can't figure out how to get his workstation to recognize the new branch that I am working on.  Any suggestions on how to do this?

Thanks, Tom

Accepted Answer
Tobias Roth Accepted Answer Pending Moderation
  1. Thursday, 14 May 2020 18:50 PM UTC
  2. PowerBuilder
  3. # Permalink


we are using gitlab too.

We switch/checkout to the other branch (tortoisegit Windows-Explorer contextmenu extension) and than reopen the IDE.

Its important to fetch the branches of the remote repo to get the branches in the switch/checkout Dialog.

After that we have to refresh the objects inside the IDE.

Regards Tobi

  1. Thomas Rolseth
  2. Thursday, 14 May 2020 19:00 PM UTC
Thanks for the reply Tobi. We did the same thing (I think) but the other developer on the team does not see the new branch in the Windows Explorer context menu extension. Do you have any steps on how to do this or maybe a screen shot or two?

When I select TortoiseGit>>Switch/Checkout I see the new branch I am on and the dropdown list also contains options like master and remotes/origin/master. The other dev does not see the new branch that I have selected (and that has been pushed to the repo).

  1. Helpful
  1. Tobias Roth
  2. Thursday, 14 May 2020 19:24 PM UTC
In the switch/checkout Dialog click in the "..." Button next to the branch dropdown. In the browse references Dialog expand the remote tree and rightclick on the "origin" entry and then select "fetch from origin".

After fetching you can find the remote branch in the tree and dropdown to create the new local branch of it.
  1. Helpful
There are no comments made yet.

There are replies in this question but you are not allowed to view the replies from this question.