Supported Git Commands#
AI Workbench Git Feature Support#
AI Workbench supports the following git features when you work with projects.
Git Feature |
Description |
AI Workbench Desktop App Support |
AI Workbench CLI Support |
---|---|---|---|
Clone a repository into a new directory. |
Clone Project — Available from the main AI Workbench page. |
||
Create a new commit containing your current changes. |
Commit — Available from the project page. |
||
Create and switch to a new branch in your project. |
Create Branch — Available in the Branches section of the project sidebar or by clicking the Create Branch button. |
||
git branch |
Delete a branch in your project. |
Delete Branch — Available in the Branches section of the project sidebar. |
|
Discard uncommitted or untracked changes in the current branch. |
Discard Changes — Available in the Changes section of the project sidebar. You can also add files to .gitignore from this section. |
||
Fetch changes and branches from your Git server. |
Fetch — Available from the project page after you publish a project. |
||
Show the commit log history. |
History — Available from the project sidebar. |
||
Merge changes from one branch to another. |
Merge Branch — Available in the Branches section of the project sidebar. |
||
git push |
Push a project to your Git server for the first time. |
Publish — Available from the project page of a new project. |
|
Pull changes from your Git server into your current branch. |
Pull — Available from the project page when there are changes on the Git server. |
||
Push changes from your current branch to your Git server. |
Push — Available from the project page after you commit changes. |
||
Switch to an existing branch in your project. |
Switch Branch — Available in the Branches section of the project sidebar. |