QOps tackles with a local repository creation. No need to do it manually.
To create Remote Repository, choose a Git Provider (GitLab, GitHub), visit main page and check instructions for signing up an account. Alternatively, there is a possibility to install self-managed instances or enterprise solutions.
All QOps settings except 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 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
- On Windows, go to user home directory, ex. C:\Users\<user_name>\.ssh
- Open a terminal
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]”
Press Enter. Output similar to the following is displayed:
Generating public/private ed25519 key pair. Enter file in which to save the key (/home/user/.ssh/id_ed25519):
- Accept the suggested filename and directory
- Specify a passphrase. Leave empty to avoid asking on every login attempt.
- Confirm passphrase and check information displayed about the place where files are stored.
- Add an SSH key to the Git Provider Account
- 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
- 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