Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Enlist in the Orchard source and set up a company upstream repository.

Tags: orchard, orchard-cms, git, .net, asp.net, asp.net-mvc

Clone from Orchard Source and enter the resulting repo directory.

git clone https://git01.codeplex.com/orchard
cd orchard

At this point, if you run git remote -v you will see that remote as your origin. Since you don't want to be pushing to the Orchard source, next set an upstream for your company.

Add a new remote for your company.

Create a repository in GitHub (or wherever), then set it as upstream with these commands.

# be sure to add your own remote repo url
git remote add company git@github.com:bigfont/orchard-continuous-integration-demo.git
git fetch company
git branch --set-upstream-to company/master

Integrate the new remote and push to it.

git pull
git push

The advantage of the above setup, is that when you want to update from Orchard source, you can just run `git pull origin`, and when you want to push to your company remote, you can run `git push`.