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

git clone

Clone a repository into a new directory.

Clone Project — Available from the main AI Workbench page.

clone

git commit

Create a new commit containing your current changes.

Commit — Available from the project page.

commit

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.

create branch

git branch -d | -D

Delete a branch in your project.

Delete Branch — Available in the Branches section of the project sidebar.

delete branch

git restore

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.

discard

git fetch

Fetch changes and branches from your Git server.

Fetch — Available from the project page after you publish a project.

fetch

git log

Show the commit log history.

History — Available from the project sidebar.

history

git merge

Merge changes from one branch to another.

Merge Branch — Available in the Branches section of the project sidebar.

merge

git push --set-upstream

Push a project to your Git server for the first time.

Publish — Available from the project page of a new project.

publish

git pull

Pull changes from your Git server into your current branch.

Pull — Available from the project page when there are changes on the Git server.

pull

git push

Push changes from your current branch to your Git server.

Push — Available from the project page after you commit changes.

push

Switch to an existing branch in your project.

Switch Branch — Available in the Branches section of the project sidebar.

switch-branch