Branch : "master" by default, this is the main branch which will be synchronized with your site

Automatically push when publishing site : when this parameter is checked, each time you will publish your site, AMPize will ask you if you want to push it to github

Pushing your site to github

Once your github repository is configured, you can push your site to github.

In the site-builder, just on the left of your site's name, select the menu as you would access for the site settings. An entry «Push to Github» should now be there :

This will push your site to github. All the configuration of your site will be synchronized :

Site settings

Page settings with your components

Each component settings

The process is :

A new branch is created

each file is commited

a Pull Request is created

the PR is merged

Thanks to this process you can easily find each modification in one Pull Request and revert it.

Pulling your site from github

Below «Push to Github» you can find «Pull from Github». This action will pull and erase all the configuration of your "staging" site by the versioned one.

Note that this will not publish your site, but all the configuration that has not been published will be lost.

How to create a github token

This is an example of how to create a github token.

Connect to an account which has access to the github repository that you want to synchronize with AMPize. Ideally, this account only have access to this repository because github does not give access per repository but for all the account.

Go to https://github.com/settings/tokens and on the top right click on «Generate new token»