Administration Guide > Using Version Control and TDV > Configuring Version Control for TDV Resources
 
Configuring Version Control for TDV Resources
Through the Manage connections window you can add, delete, and copy connections to your version control systems.
To configure version control
1. Open Studio.
2. Select VCS.
3. Select Manage Connections.
4. Click Add.
5. Type or select values for the following:
Field
GIT Example
SVN Example
Name
vcs-git
vcs-svn
Description
files from git
files from svn
Type
GIT
Subversion
URL
dv-vcs.beesknees.com/git/vcs.git
svn://192.25.5.76:3690
User
gituser2
svnuser1
Password
foa23f9u
foa23f9u
6. Refer Configuring VCS for Github OAuth Authentication for instructions on making a Github OAuth VCS connection.
7. Select Verify.
This action sets the credential that TDV uses for VCS during the Studio session that you currently have open. If you close and reopen Studio, you might be asked to log in to the VCS repository again.
8. Select a branch (applicable for GIT connection).
9. Select Create.
10. Select Close when you are done.
Configuring VCS for Github OAuth Authentication
In order to configure a VCS connection using the Github OAuth authentication, you will need a valid Github account. Follow these steps to complete the configuration in TDV:
1. Choose Manage Connections from the VCS menu in TDV Studio. The “Manage Version Control Connections” window is displayed.
2. Enter a Name and Description for the connection.
3. Choose Git (Open Source) in the Type drop down.
4. Provide the Url for the Github repository. You will need to create a repository using your Github profile. For information on creating a repository, refer:
https://docs.github.com/en/get-started/quickstart/create-a-repo
5. You will also need the Client Id and Client Secret of your repository, if you are using OAuth authentication. For more information on creating the Id and Secret, refer:
https://docs.github.com/en/rest/guides/basics-of-authentication
6. To complete the connection, provide your Github user id and Personal Access Token that you can retrieve from your Github profile.
Note: You can use the OAuth authentication without giving the personal access token. To do this, click on the OAuth checkbox. You will be transferred to the browser to make a secure connection to your Github repository.
When connecting to a Github repository, you will need to use the Personal Access Token and not the basic authentication.
7. Click on Verify to verify your connection.
Note: If you get connection issues, verify your credentials and ensure that the secret or the token has not expired. If you continue to have issues, clear your cookie and site data in the browser settings and re-verify your connection.
8. Select a branch of your repository.
9. Set the Encryption password.
10. Click Create to create the VCS connection.
Once a VCS connection is created, all operations (such as Attach, Detach, Commit, Check-in, etc.) can be performed on the VCS instance.