Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

GIT setup another preprod site

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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Simple Linear Regression
Suggested Courses

722 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