Working With GitHub in MPLAB® Xpress
Store Projects in GitHub
The new MPLAB® Xpress is able to access projects stored on GitHub, Bitbucket, or your own Git repository. For this discussion, the focus will be on GitHub.
GitHub is a platform where you can store, share, and version control your MPLAB Xpress projects. It is built on the Git version control software.
If you have existing projects in the old MPLAB Xpress, you can save and migrate them to GitHub and then easily access them in the new MPLAB Xpress.
Saving Projects for Migration
To save your old MPLAB Xpess projects to your local computer so they may be migrated to GitHub, click to view the video link above or follow these steps.
Migrating Projects to GitHub
Once you have saved your old MPLAB Xpress projects to your local computer, you can move them to GitHub.
Sign In
If you are new to GitHub, follow the guidance on the main page after you log in. Useful resources are:
- GitHub Guides - Quick 5-10 minute reads
Create a Repository
Create a repository for one of your projects.
Save Project Files to Repository
To move the project to the GitHub repository:
Accessing GitHub From MPLAB Xpress
Select File > Git to enter the location of a Git repository with one of your projects. Then enter your username and password to clone the repository to your workspace. Once cloned, the project will open in MPLAB Xpress.
To re-open the project at another time, use File > Open Project to find and open the project.
Go to View > Git Controls to access all the Git features like push, pull, merge, create branch, etc.
Find GitHub examples on the "Microchip PIC & AVR Examples" page.