Source control enhancements

The source control management system has the following enhancements:

  • (Git) Enhances the Create Branch and Switch Branch functionalities.

    In the Create Branch dialog, you can select the Switch to new branch option to switch to the new branch after creation. This will automatically change your working directory to the newly created branch, allowing you to start making changes right away without needing to switch branches manually later.

    In the Switch Branch dialog, you can select the Create new branch option to create a new branch while switching. This allows you to specify a name for the new branch and choose whether to base it on the current branch or another existing branch. Once you click OK, the new branch will be created, and your working directory will automatically switch to this new branch. If you encounter a situation where a branch with the same name already exists, you can select the Force if duplicate branch name exists option. This will overwrite the existing branch with the new one you are trying to create, ensuring you can proceed without conflicts.

  • (Git) Adds a right-click menu called Git Merge to merge a selected branch into the current branch.

    When the Git Merge menu is selected, a Git Merge dialog will open and allow you to 1) select a branch, 2) enter the merge message, 3) combine multiple commits into a single commit when merging the selected branch to the current branch.

  • (Git) Supports the .gitignore file.

    You can specify which files or directories should be ignored when committing to Git, preventing unnecessary files (such as temporary files, compiled files, or log files) from being added to version control.

    You can create flexible and precise rules for ignoring files and directories through pattern matching via wildcard characters like *, ?, [], !. /, and \.

For detailed instructions, refer to the section called “Use branches” in Users Guide and the section called “Use .gitignore” in Users Guide.