VuGen enables you to perform Git operations from the script's context (right-click) menu.
The Git context menu operations are described below in alphabetical order:
|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.
Opens the Commit Changes dialog box, allowing you to:
|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:
|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.|
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.
Recalculates and updates the tree icons in VuGen's Solution Explorer pane, with the latest actions and files.
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.
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.
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.
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.|