Solved

GIT setup another preprod site

Posted on 2013-05-30
3
541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

734 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