Each project in Data Science & AI Workbench has its own Git repository that the files for the project are stored in. You can create branches off of your project to develop changes locally, then commit and push them to a collaborative remote project repository, where other users will then be able to pull your changes.
If the parent or remote branch has changes applied to it that the active branch does not, you must pull the changes into your local branch to avoid merge conflicts before you push your commits.
Click Pull.
Select the branch that contains changes you need to pull.
Open the Pull dropdown and select a pull method:Keep Theirs and PullDiscards your local changes in favor of content on the parent branch. Your changes will be lost.Keep Mine and PullDiscards changes on the parent branch in favor of your local changes. Changes on the parent branch will be overwritten.Keep Both and PullSaves the conflicting files with different file names so you can compare their content and decide how you want to reconcile the differences manually.
There is currently no method for deleting a branch from the UI. This feature will be added in a later release. However, you can still delete branches from your project manually if necessary. To delete a branch from a project:
Open your project and start a session.
Open a terminal in your project session.
Run the following commands:
Copy
Ask AI
# Replace <BRANCH> with the name of the branch you want to deletegit branch -D <BRANCH>git push origin :<BRANCH>
If you attempt to delete a branch that another user currently has active, the branch will not be deleted.
You can execute other Git commands from the project’s terminal as well. However, Git actions performed at the command line are not recorded in your user activity log.