Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8244321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:48:49+00:00 2026-06-07T21:48:49+00:00

I have a live web site where a bug is manifesting only in PROD.

  • 0

I have a live web site where a bug is manifesting only in PROD. I was thinking that rather than implement some logging on my prod branch I’d make a special short-lived logging branch and check that out into PROD having first tested it in my staging server. Then, I can switch back to the main trunk branch once I troubleshooted the issue.

I realize that testing in PROD is wrong but we cannot reproduce this bug in the staging server. Am I missing an approach or, can you comment on the danger of pulling a branch (which is not very divergent from trunk) into production?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:48:51+00:00Added an answer on June 7, 2026 at 9:48 pm

    The easiest approach would be to branch out of PROD into a short-lived testing branch. You should be branching out at the commit/tag where you see the issue.

    Use this branch to make any changes and fix the issue. After verifying your FIX on the Staging Server, merge the changes back into PROD branch.

    git checkout PROD
    git branch my_short_lived_branch
    <DEPLOY short_lived_branch on Staging Server to confirm issue is reproducible>
    <DEBUG and FIX the issue>
    <DEPLOY and confirm the FIX>
    git checkout PROD
    git merge --no-ff my_short_lived_branch
    <DEPLOY on Staging server and confirm the issue is fixed>
    <IF the issue is fixed, deploy the changes to your production server>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a live database that had some data deleted from it and I
To clarify, I currently have a live app that does not implement in app
We have a series of web services that live in different environments (dev/qa/staging/production) that
I'm a web developer, we have a production site that is the latest &
I have an ASP.NET web site that responds with multiple skins depending on the
I have a chat on a web site that looks like this. I am
I have an interesting issue that only happens in IE9. There are some forms
I have a website with live stats that I wish to display to every
I have an assembly which wraps the functionality of an external live web service.
I am loading content into a page with ajax that will have live click

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.