Use branches
You can create a branch after the workspace is added to the Git
source control.
To create a branch,
-
Right-click the workspace and select Git Create Branch from
the pop-up menu. -
In the Create Branch dialog, input the branch name you want
to create, select whether to base the new branch on HEAD or a
chosen branch, and click OK.To overwrite the branch if a branch with the same name
already exists, select the “Force if duplicate branch name exists”
option.The branch will be created in your local repository. You can
use the Git Push menu to commit the branch to the remote
repository on the server, but note that the PBL file(s) will not
be uploaded to the server.
To switch to a branch,
-
Right-click the workspace and select Git Switch Branch from
the pop-up menu. -
In the Switch Branch dialog, select the branch you want to
switch to and click OK.If you switch to a remote branch (in most cases the one
starting with “origin/”), you will not be able to commit changes
to the remote branch.If you get a workspace which was added to Git using a
third-party tool such as TortoiseGit, you should commit the entire
workspace from the PowerBuilder IDE to Git immediately after you
get it; otherwise the object or changes may be lost after you
switch the branch.