Working with Remote Repositories in Git for MPLAB® X IDE

Last modified by Microchip on 2024/06/24 06:35

Fetching from Remote Repositories

In the Projects window, choose a project.

From the main menu choose Team > Remote > Fetch

Choose a project by going to Team, Remote, and then Fetch

Select the repository location


To use the path to the repository configured earlier select: Select Configured Repository

                                   or

To define the path to a different remote repository select: Specify Git Repository Location


Choose the branch to fetch changes from and click Finish.

Choose the branches to fetch changes from

Back to top


Pulling from Remote Repositories

To pull from remote repositories, complete the following steps.

In the Projects window, choose a project. From the main menu choose Team > Remote > Pull

In the project window, choose a project

Select the repository location


To use the path to the repository configured earlier, select: Select Configured Repository

                                   or

To define the path to a different remote repository select: Specify Git Repository Location


Choose which branches to pull from. Click Finish

Choose which branches to pull the changes from

Back to top


Pushing to Remote Repositories

Perform a Push to contribute changes from your local Git repository into a public Git repository.

In the Projects window, choose a project.

From the main menu choose Team > Remote > Push

From the projects window, choose a project

Select the repository location


To use the path to the repository configured earlier, select: Select Configured Repository

                                   or

To define the path to a different remote repository select: Specify Git Repository Location


Choose which branches to push your edits to.
Click Next.

Choose the branches to push your edits to


Choose the Branch(es) to be updated in the Remotes directory of your local repository. Click Finish

Back to top