Skip to main content
This section explains how to clone your personal dep-ppl-base repository from GitHub to the Power Platform controller, as well as how to pull the latest changes from the remote repository to the controller.
Pulling or cloning is only possible if the controller has internet access to reach GitHub. Ensure the controller is connected to the internet before proceeding.
If the controller doesn’t have direct internet access to GitHub, you can instead use the copy method to transfer the etc folder from your local dep-ppl-base repository to the Power Platform controller.

Copy etc Folder

Clone the Repository

If you have already cloned the repository, you can skip this section and go directly to the Pull the Latest Changes section.
1

Open Terminal

Open a terminal on your local machine and connect to the controller using SSH:
ssh admin@<controller_ip>
Enter the admin password when prompted.
2

Navigate to Target Folder

cd /opt/plcnext/appshome/data/60002172000969
3

Initialize Git Repository

git init
4

Add Safe Directory

git config --global --add safe.directory /opt/plcnext/appshome/data/60002172000969
5

Add Remote Repository

git remote add origin https://github.com/YOUR_USERNAME/dep-ppl-base.git
Make sure to replace YOUR_USERNAME with your actual GitHub username.
6

Enable Sparse Checkout

Enable sparse-checkout to clone only specific paths:
git sparse-checkout init --cone
git sparse-checkout set etc
git pull
7

Checkout Main Branch

git checkout main
8

Pull changes

Pull the contents from the remote repository:
git pull

Pull the Latest Changes

To pull the latest changes from the remote repository on the Power Platform controller, follow these steps:
Ensure the controller has internet access to GitHub. Without connectivity, git pull will fail.
1

Open Terminal

Open a terminal on your local machine and connect to the controller using SSH:
ssh admin@<controller_ip>
Enter the admin password when prompted.
2

Change Directory

Change directory to the location where you cloned the repository.
cd /opt/plcnext/appshome/data/60002172000969
3

Pull Changes

Run the following command to pull the latest changes from the remote repository:
git pull