Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

GIT setup another preprod site

Posted on 2013-05-30
3
Medium Priority
?
578 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
1 Comment
 

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Screencast - Getting to Know the Pipeline
Suggested Courses

824 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