when VuGen integrates with GitHub. Do we need separate repo for every script or multiple scripts can be uploaded in a single repo in GitHub?
Question ID: 108142
Marked as spam
Posted by (Questions: 231, Answers: 18)
Asked on January 31, 2018 8:22 pm
Answers (1)
Private answer

Unfortunately, you can't use the same GitHub repository for more than one script at a time. Having more than one script in a Git (GitHub) repository causes corruption of all scripts added to that one repository.

The solution is to have a repository for each script you want to store in GitHub.

VuGen's GitHub integration (and GitHub in general) works by managing three versions of your script at a time.

A repository is usually used to organize a single project (for LoadRunner a single script).

GitHub makes it easy to add one at the same time you create your new repository.
To create a new repository

1. In the upper right corner, next to your avatar or ident-icon, click and then select New repository.
2. Name your repository the script name.
3. Write a short description.
4. Click Create repository.

For each script:

- Log into GitHub and create a new repository:
- a. Recommend using the script name for the repository name
- VuGen Version Control - ''Create Local Git Repository''
- a. Now create a script in VuGen - You'll see a new 'Version Control' menu available in VuGen. Chose the option to 'Create a local Git Repository'.
- b. VuGen manages the files to include so you don't need to create a .gitignore file. If you prefer to manage it yourself, you can do that too.

- Commit Changes to the Staging Area (local). Now you need to commit your script to the local repository. Do this each time you've made changes that you might want to push to Git Hub, or if you want to be able to roll back any changes.

- a. When you commit, your local repository is ready to be pushed up to GitHub - but is still only available to you.

- Push Changes to GitHub. Once you are ready to save your script up to GitHub, you will need to Push the changes.

- a. The first time you do this with your script, you will need to tell VuGen some details about the GitHub repository.

- b. In the ''Connect to Git'' dialog, enter your details that you created in Step 1, now your newly created script is saved to GitHub.

- That's all you need to do. When you go to GitHub and click on your repository, you will see all the files that you just pushed:


- Create a repository per script

- Use the script name as the repository name

- Closing the VuGen between scripts

- Verify the GitHub Connection detail before pushing to the GitHub

Marked as spam
Posted by (Questions: 12, Answers: 384)
Answered on January 31, 2018 8:22 pm

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top