A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Controller.php

Line Number: 51

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Embed has a deprecated constructor

Filename: libraries/embed.php

Line Number: 14

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Link has a deprecated constructor

Filename: libraries/link.php

Line Number: 14

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Nav has a deprecated constructor

Filename: libraries/nav.php

Line Number: 14

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Format has a deprecated constructor

Filename: libraries/format.php

Line Number: 17

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor

Filename: libraries/markdown.php

Line Number: 191

git Workflow | PyroCMS Documentation

PyroCMS

Notice: PyroCMS v 2.2.x is depreciated and is no long under development. This documentation is provided as-is, free of charge, for reference in existing websites.

Step 1: Fork or Clone PyroCMS

If you just want to pull down changes from the PyroCMS repo on GitHub, you don't need to fork the PyroCMS Repo, you can just clone it like you would any other PyroCMS repo:

git clone git@github.com:pyrocms/pyrocms.git

If you want to push your changes back to PyroCMS as pull requests, you'll need to fork our PyroCMS community repo, which can be found here. Simply click the Fork button and you'll have your very own forked repo of PyroCMS on your account!

Then you'll clone that forked repo to your dev environment. Using the terminal, find the folder you want to clone your repo into, and use this command, replacing your-name with you GitHub user name.

git clone git@github.com:your-name/pyrocms.git

Step 2: Add Pyro as a Remote

To be able to pull in changes from the PyroCMS repo, you can add it as a remote named upstream:

git remote add upstream git://github.com/pyrocms/pyrocms.git

That's it! You now have your own repository on your account and on your local environment that has PyroCMS as a remote. To pull down changes from PyroCMS, simply run this command, where 2.2/develop is the PyroCMS branch you want to use:

git pull upstream 2.2/develop

You can use git as you would in any other repo, so you can even create a different branch for your site:

git branch mysite
git checkout mysite