Overview

Note: follow the steps for configuring Fioctl first.

Before you can interact with the GitServer, your local Git client needs to be setup correctly.

Along with the steps described under configuring git, follow the steps specific to the enterprise edition below.

Configuring Git

Enterprise Only

  1. Run the command:
fioctl configure-git

Enterprise and Foundries.io Instances

  1. Assuming you created the alias fioctl-enterprise, run:
fioctl-enterprise configure-git

Validating Configuration

  1. Confirm the update in your git configuration by checking for the presence of https://source.qcom.foundries.io in your .gitconfig:
$ cat $HOME/.gitconfig
...
[credential]
    helper = /path/in/your/so/git-credential-fio
...
[credential "https://source.qcom.foundries.io"]
username = fio-oauth2
helper = fio
  1. Clone a Git repository from your Factory:

Enterprise Only

git clone https://source.qcom.foundries.io/factories/<factory>/containers.git

Enterprise and Foundries.io Instances

FIOCTL_CONFIG=$HOME/.config/fioctl-enterprise.yaml \
  git clone https://source.qcom.foundries.io/factories/<factory>/containers.git

IMPORTANT: If issues arise, manually execute the git config --global ... commands detailed in the troubleshooting guide. Ensure you replace the given domain with your cloud domain.