Skip to content
themightychris edited this page Nov 3, 2012 · 5 revisions

This package uses https://github.com/ornicar/php-git-repo to push a configured list of file trees into a remote git repository

Step 1) Define repository in /php-config/Git.config.php:

Git::$repositories['MyRepo'] = array(
	'remote' => 'git@github.com:JarvusInnovations/EmergenceEditor.git'
	,'originBranch' => 'master'
	,'workingBranch' => 'jarvus-team'
	,'trees' => array(
		'sencha-build/EmergenceEditor/production' => 'build'
	)
);

Step 2) Generate ssh key for github

Step 3) Visit /git/init?repo=MyRepo, paste private key and submit

Step 4) Ready your site or make changes

Step 5) Visit /git/commit?repo=CKMobile, write commit message and paste. The commit wil be pushed to remote immediately.

Clone this wiki locally