Share this page

# Git operations

VuGen enables you to perform Git operations from the script's context (right-click) menu.

Item | Description
--- | ---
To access | Open a script stored in a Git repository. In the Solution Explorer pane, click the parent level of the script and expand the Git item in the right-click menu.
Important information | If the script is on a private repository and you need to Pull or Push, you must provide credentials. Make sure your machine is configured to integrate with Git and that you set the relevant proxy settings, if applicable.

The Git context menu operations are described below in alphabetical order:

UI Element | Description
--- | ---
Activate Script Tracking | (Available only for untracked scripts) Adds the current script to the staging area for tracking. To ignore specific files from the tracking, use the Configure Ignore List option. Note: If you rename a tracked file outside of VuGen, the Solution Explorer will display its new name.
Check for Modifications… | Displays the changes to the script files since your last commit. Double-click on an entry to open the changes in a Diff tool. Expand the Internal files and User filessections to see which files were modified.
Commit… | Opens the Commit Changes dialog box, allowing you to: Type a description of the change in the Message area. See which files will be committed. Expand the Internal files and User filessections to see the file list. Edit the signature for the change by clicking Edit…. Add the script files to the staging area and commit the changes with the specified message.
Configure Ignore List… | Allows you to modify the .gitignore content or import the contents of a previously saved .gitignore file. Place each file that you want to ignore on a separate line. Use an asterisk as a wildcard. For complete syntax information, see the Git documentation.
Connect to Git… | Opens the Connect to Git dialog box, allowing you to specify the connection information: Remote Repository URL. The URL of the repository to use for Push, Pull, and Commit operations. User name, Password. The credentials to use for connecting to the repository. They are saved internally to ensure persistent connectivity. Enter your Git user name in the User name field and your PAT in the Password field. Note: You must use a personal access token (PAT) to connect to the GitHub server. You cannot use username/password authentication or other forms of authentication (for example, SAML single sign-on). For details on generating a PAT, see the GitHub documentation.
Create Local Git Repository... | Opens the Track Script dialog box. Click Track to add the local script to a Git repository. To indicate which script files to exclude from the repository, click Configure ignored list to open the Configure Ignore List dialog box.
Pull | Pulls the changes from the repository to your local script files.
Push… | Opens the Push Changes dialog box, when changes are detected. If you are not connected to Git, VuGen opens the Connect to Git dialog box, prompting you for credentials. In the Changes section, you select the change that you want to push to the repository. Expand the Internal files and User filessections to see which files will be included in the push operation.
Refresh | Recalculates and updates the tree icons in VuGen's Solution Explorer pane, with the latest actions and files.
Resolve Conflicts... | Opens the Resolve Conflicts dialog box, to help you resolve conflicts between local files and those on the repository. Select the check box adjacent to each file whose conflict you want to mark as resolved. Double-click on a conflicted file to open the merge tool. For additional details, see Resolve Conflicts dialog box.
Reset HEAD | Sets the files in the working directory and staged snapshot of the current branch, HEAD, to their content at your last commit. Caution: This operation will discard all of your uncommitted changes.
Revert... | Allows you to revert to a specific commit. In the Revert a Commit dialog box, select a commit from the list and click Revert. The revert command only undoes the changes made in the selected commit. All other commits are unaffected. Note: When reverting a commit that has more than one parent, the revert uses the first parent.
Show log… | Opens the Log dialog box, listing the changes and their associated files. In the Files section, expand the Internal files and User filesheaders to see the files that were modified for the selected change.
Untrack Script | (Available for a tracked script only) Removes the script and all its files from the list of tracked files.

Back to top

See also:

- Manage scripts with Git
- Configure Ignore List dialog box

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: