Salesforce

Performing Local Operations with TortoiseGit (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Performing Local Operations with TortoiseGit

You can perform local operations such as commit, branching, update on the local Git database.

Creating Git Repository

You need to create a repository when your project is not associated with version control before. You can create a repository by following the menu File > Version Control > Create Repository.

Checking for Modifications

If you want to see if your working tree has modified, then you can see it as follows:

Select Version Control > Check for modifications dialog.

Reverting the Changes

This option lets you undo all your changes done since last commit. You can revert them as follows:

  1. Select a file with changes.

  2. Right-click on it to invoke the context menu.

  3. Select Version Control > Revert. This opens a dialog box with the files that you changed and can revert.

  4. Select the ones you need torevert.

  5. Click OK.

Committing the Changes

Committing the changes is nothing but storing your changes locally in your working tree. When there are no conflicts, you can commit the changes as follows:

  1. Select a Magic xpa program to commit.

  2. Select Version control > Commit.

  3. Type a comment for your commit. The dialog displays any modified files.

  4. Click Commit.

Related Topics

Connecting Magic xpa with Git Repository

Reference
Attachment 
Attachment