Documentation (2024.2 Enterprise)

# Git commands supported by Helix TeamHub CLI

The Git commands in the table are directly supported by hth-cli. hth-cli passes all of the switchers and arguments to the native Git command.

Helix TeamHub command | Git command |  | Helix TeamHub command | Git command
--- | --- | --- | --- | ---
hth add | add |  | hth push | push
hth branch | branch |  | hth reset | reset
hth checkout | checkout |  | hth show | show
hth commit | commit |  | hth stash | stash
hth diff | diff |  | hth status | status
hth fetch | fetch |  | hth tag | tag
hth log | log |  |  |

The GIT commands in the table are not supported by the Each command.

### Write operations request a confirmation

Any write operation, such as hth pull, hth commit, hth push, will ask for a confirmation as shown below:

You can automatically confirm a write command by setting the --yes or -y flag for the command as a persistent key in the global or local config file.

    Pushing/Pulling/Commiting changes for:
        backend#develop
        omnibus-acme#develop
        foo#topic2
    to `myhth.com/acme/projects/platform`

    Do you want to continue? [y/n]

Your search for returned results

Your search for returned results