Set Up a Git Client
You can use use any Git client, such as the Git command-line interface (CLI), to access Git repositories from your computer. However, you cannot access projects, issues, and builds from a Git client.
Git Command-Line Interface
Before you can use a Git client to access your project's Git repository, you must first install and configure it on your computer. The Git command line-interface (CLI) is the most popular Git client.
Here's how to download, install, and configure the Git CLI:
-
Download and install the Git CLI.
On Windows, use the Git Bash CLI to access project Git repositories. You can download Git Bash (version 1.8.x or later) from
http://git-scm.com/downloads
.On Linux and Unix, install Git using the preferred package manager. You can download Git for Linux and Unix from
http://git-scm.com/download/linux
. -
The VB Studio pages display your username and email address as the committer's name and email ID. Configure variables to set up your name and email address:
-
To configure your user name, set the
user.name
variable:git config --global user.name "John Doe"
-
To configure your email address, set the
user.email
variable:git config --global user.email "johndoe@example.com"
-
To disable SSL or configure the proxy server, set the
http.sslVerify
orhttp.proxy
variables:git config --global http.sslVerify false
git config --global http.proxy http://www.testproxyserver.com:80/
-
Tip:
To find out the value of a variable, use the git config
<variable>
command:
git config user.name
Upload Your Public SSH Key
Before you can connect to a Git repository using SSH, you must first generate a private-public RSA SSH key pair and upload the public key to VB Studio. If you use multiple computers to access Git repositories, you need to generate an SSH key pair from each computer and upload its public key.
VB Studio uses SSH protocol, version 2. For user authentication, VB Studio supports the ssh-ed25519 and the ssh-rsa algorithms for key types. The ed25519 algorithm is preferred. For the host verification, ssh-ed25519, ecdsa-sha2-nistp521, and ssh-rsa are supported. The RSA algorithm is the original one; the other two were added as alternatives for verifying the host.
Note:
In 24.04.0, there is an important change in SSH-RSA handling. VB Studio no longer supports the SSH-RSA (SHA1) signature scheme. This can be a problem for the old OpenSSH client (OpenSSH_7.4p1) and some of the older clients (OpenSSL 1.0.2k-fips). Modern clients, such as OpenSSH_8.9p1 Ubuntu-3ubuntu0.4, and OpenSSL 3.0.2, support rsa-sha2-512 and rsa-sha2-256.
Generate an SSH Key
To generate an RSA SSH key pair, you can use any SSH client, including the Git CLI.
By default, Git CLI access the
C:\Users\<USER_PROFILE>\.ssh\
directory to locate
the private key. If you are using another Git client, you may need to configure it
to access the private SSH key. Check your Git client’s documentation to find out how
to do that.
Add the Public SSH Key to Your VB Studio Account
After generating an SSH private-public key pair, add the public key to your User Preferences page’s Authentication tab.
- On the computer where you generated the SSH key pair, navigate to the directory where the public key is saved.
- Open the public key file in a text editor, select the contents, and copy them to the clipboard.
- In VB Studio, click the user avatar and select Preferences.
- Click the Authentication tab.
- Click Add Key.
- In the New SSH Key dialog box, enter a unique name and paste the SSH key that you copied in Step 2.
- Click Create.
- To the left of the User Preferences
title, click
to return to the last opened page.