Monday, January 29, 2018

Connect Pantheon and GitHub for changes

First, make sure your Pantheon instance is ready. Then, follow these steps:

1- Create a public key to be shared with the GitHub account.

Using GIT shell:

$ ssh-keygen
 
2- Once your public key is shared with the GitHub account, link the github repo to your local server:

$ git remote add pantheon-ta git@github.com:ta-tests/pantheon-ta.git
 
Where:
 
pantheon-ta: is a custom name you give to the repo
git@github.com:ta-tests/pantheon-ta.git: is the link to your github repo

3- To push changes over to the GitHub repo from your local server, just do:

$ git push -u pantheon-ta master

No comments:

Post a Comment