Solved

GIT setup another preprod site

Posted on 2013-05-30
3
515 Views
Last Modified: 2013-05-31
Hi

I have a repo on BitBucket working great and have my 2 prime branches (MASTER and DEVELOP) deploying to my preprod and production instances.

I have created a new directory (sandbox) on production to act as a sandbox for new feature testing.

1.

how do I add a new SANDBOX primary remote branch to my repo?

2.

how do I setup my sandbox instance on production to pull the sandbox branch only?
I have used the following on my local branch of sandbox...

 git push origin sandbox

Open in new window


But cant see this on bitbucket as a featured branch?
0
Comment
Question by:is_numeric
3 Comments
 

Accepted Solution

by:
is_numeric earned 0 total points
ID: 39210426
Solved

Was looking at it in the wrong way as if you had to do something special in the production enviroment.

I just had to treat the production branch like a local and clone the repo, then switch to the desired branch.

Using a deploy hook I can remote pull the branch therefore making it live
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now