Solved

GIT setup another preprod site

Posted on 2013-05-30
3
514 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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Read about why website design really matters in today's demanding market.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

772 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

13 Experts available now in Live!

Get 1:1 Help Now