devices
file, the config
file, or any address and control maps,
you need to save these changes to your repository. Pushing your changes ensures they are stored on GitHub, making them accessible
from other machines or for later deployment to the Power Platform controller.
You can commit and push your changes either by using Git commands in the terminal or by using the built-in Git features in a
code editor like Visual Studio or Windsurf. The following steps will walk you through both methods.
Using Git Commands
1
Open Terminal
Open a terminal on your local machine.
2
Check Status
Run the following command to check the status of your repository:
3
Add Changes
Run the following command to add your changes to the staging area:or run the following command to only add specific files:
4
Commit Changes
Run the following command to commit your changes:
5
Push Changes
Run the following command to push your changes to your remote repository:
Using Visual Studio
1
Open Visual Studio Code
Open your project in Visual Studio Code
2
Open Source Control Panel
Open the Source Control panel by clicking the Git icon on the left sidebar (or pressing Ctrl+Shift+G).
3
Stage Your Changes
- Hover over the files you modified and click the + icon, or
- Click + next to Changes to stage all files.
4
Write a Commit Message
Write a commit message in the text box at the top of the Source Control panel describing your changes.
5
Commit the Changes
Click the checkmark icon to commit the staged changes.
6
Push the Changes
- Click the three dots … at the top of the Source Control panel and select Push, or
- Click the upward arrow icon if it appears near the bottom left corner.