If you intend to upload code changes via SFTP, place your site code in a subdirectory called code (for example, ~/sites/mysite/code). ![]() Use Git, SFTP, or rsync to clone your site files on the Dev environment down to your local machine. Before You BeginĬreate a site on Pantheon, or browse to the Dev environment Dashboard of an existing site. You can also use the VS Code SFTP extension to sync code between your Pantheon site and local machine. ![]() You can set up a Pantheon site in VS Code and push local changes to your Pantheon environment with Git. Visual Studio Code, or VS Code, is an open-source code editor that runs on Windows, Linux, and Mac OS. This section provides information on how to develop your Pantheon site locally with Visual Studio Code. ![]() Edit this page on GitHub | Report an issue with this doc
0 Comments
Leave a Reply. |