![]() ![]() Let’s start by retrieving the contents of the repository we want from GitHub to our working directory. This is accomplished with the Clone function. The command can be executed from the command line ( terminal) of the VS Code or from the version control tab behind the three dots. Copying the contents of a repository to a directory Let’s go to the version control section. VS Code notices that the folder is not connected to version control and suggests Initialize Repository. Let’s do so.Īfter initialization, everything is still empty. That’s because the directory is not yet connected to any GitHub repositories. Of course, there is nothing in the directory yet. ![]() Let’s create a directory on the workstation for Power Apps projects ( PowerAppsGit) stored on GitHub, and open this directory in VS Code ( Open Folder). Git config -global user.email identity information is used when exporting changes to GitHub. git config -global user.name "Timo Pertilä" Defining a GitHub identityĪfter the installation, open VS Code and from a new terminal window, configure your personal information. The Visual Studio Code installation package can be found here. Also the Git tools should be installed on the workstation.īefore the fun can begin, we must make some tedious preparations. Now let’s go over how we are able to edit Power Apps directly from VS Code. In addition, we have a Power App that is connected to the same Git repository. Connecting Power Apps to GitHubįor our example, we have a repository in GitHub called PowerAppsProjects. The idea is to make changes to Power Apps directly with VS Code. Let’s continue with the same theme, and include Visual Studio Code in the mix. It’s an excellent free editor. I use it actively, although I only utilize a small portion of it’s features. In the previous post, we reviewed the new (experimental) feature in Canvas Power Apps that makes it easy to integrate Power Apps with Git version control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |