In this lesson, we’ll learn how to connect to your Dev environment and change code.
Navigate to the Dev environment in your Site Dashboard, and click Code.
NoteDev is the only environment on Pantheon where you can add or change code, so it’s the only place you can access and change your Connection Mode.
Git Connection Mode
You can develop locally with Git Connection Mode. Git is the version control tool at the heart of the Pantheon workflow. If you're a developer who prefers local development, it's an efficient way to interact with our platform: develop locally, commit, and push code to your Dev environment.
For more information, please see our Local Development documentation.
SFTP Connection Mode
You can develop directly on our servers with SFTP Connection Mode. It’s particularly useful for updating and adding plugins/modules directly from within your site.
Code changes made in SFTP Connection Mode are still committed into a Git repository. This makes working with other developers easy and ensures all changes are tracked in version control. Whether you’re a novice or seasoned developer, our SFTP Connection Mode is handy and safe to use.