Local and Remote Repositories

QOps tackles a local repository creation. No need to do it manually.

To create Remote Repository, choose a Git Provider (GitLab, GitHub), visit the main page and check the instructions for signing up for an account. Alternatively, there is a possibility to install self-managed instances or enterprise solutions.

Repository configuration

All QOps settings except the license key are stored per each Repository root folder, i.e. every project may have different settings, such as Git repository, application filters, etc.

To configure, select the appropriate QOps mode (QOps-SetMode) and execute QOps-Configure in the project folder root. An internal wizard will ask settings needed to start working.

SSH keys generation

To provide a secure connection to a Remote repository the SSH connection is used by Default.

Follow the below steps to get an SSH and configure Remote Repository Provider.

Generate an SSH key pair

  1. On Windows, go to the user home directory, ex. C:\Users\<user_name>\.ssh
  2. Open a terminal
  3. Type ssh-keygen -t followed by the key type and an optional comment. This comment is included in the .pub file that’s created. You may want to use an email address for the comment.For example, for ED25519:

    ssh-keygen -t ed25519 -C "[email protected]"

  4. Press Enter. Output similar to the following is displayed:Generating public/private ed25519 key pair. Enter the file in which to save the key (/home/user/.ssh/id_ed25519):
  5. Accept the suggested filename and directory
  6. Specify a passphrase. Leave empty to avoid asking on every login attempt.
  7. Confirm the passphrase and check the information displayed about the place where files are stored.
  8. Add an SSH key to the Git Provider Account

GitLab:

  • Copy the contents of your public key file (id_ed25519.pub).
  • Sign in to GitLab Account.
  • On the top bar, in the top right corner, select your Avatar.
  • Select Preferences
  • On the left sidebar, select SSH Keys
  • In the Key box, paste the contents of your public key. If you manually copied the key, make sure you copy the entire key, which starts with ssh-ed25519 or ssh-rsa, and may end with a comment.
  • In the Title box, type a description, like Work Laptop or Home Workstation.
  • Select Add key

GitHub:

  • Copy the SSH public key to the clipboard
  • In the upper-right corner of any page, click your profile photo, then click Settings
  • In the user settings sidebar, click SSH and GPG keys
  • Click New SSH key or Add SSH key
  • In the "Title" field, add a descriptive label for the new key. For example, if you're using a personal Mac, you might call this key "Personal MacBook Air"
  • Paste your key into the "Key" field.
  • Click Add SSH key
  • If prompted, confirm your GitHub password