Remote: If you are trying to push changes to a different branch or environment, try: Remote: It cannot receive git pushes until you disable this via the Pantheon dashboard. Remote: Environment 'dev' (branch: master ) is currently in SFTP mode. In the example below, the remote is named github. The remote, in this case, cannot be named origin because your local clone is already tracking the Pantheon site repository as origin. Replace the word origin with the name you want for your remote to add the GithHub repository as a remote. Select the Choose a license checkbox > set the License drop-down to none. Keep Initialize this repository with a README unchecked if you want the option to add code to your repository. Set the Owner drop-down to pantheon-systems.Įnter the Repository name (the examples on this page use d7-ci). The output lists "origin" as the remote with Pantheon SSH Git clone connection information as it's address.įollow the steps below to configure your GitHub repository. Your local copy will now track the Pantheon repository as the origin. Log in to Pantheon and load the Site Dashboard for the site you want to work on.Ĭlick the Dev tab > set the Development Mode to Git > click Clone with Git: Synchronizing Existing Pantheon Sites to GitHub
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |