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 8845113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:39:32+00:00 2026-06-14T11:39:32+00:00

Pretty sure I’m misunderstanding git. My goal I have a private repo on github

  • 0

Pretty sure I’m misunderstanding git.

My goal

  • I have a private repo on github with a “master” branch.
  • I would like to also have a production branch, which I will push all my changes from master to.
  • I would then like to connect it to Azure and tell Azure to automatically deploy from the production branch.

Question

How do I best accomplish this? Initially I was thinking it was with “git push”, but I believe that’s for remote repositories, and so I’m now wondering what the best practice is to merge the “master” branch to the “production” branch.

Or, am I thinking about the whole thing wrong?

Thanks — looking forward to putting my Subversion days behind me.

  • 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-14T11:39:33+00:00Added an answer on June 14, 2026 at 11:39 am

    (Since I am suppose to share a “wealth of information” 😉 …)

    What you are looking at, when talking about master and production branches, is a merge workflow.

    You can define the workflow you need with any Version Control System tool you want, and in term of development lifecycle management, one of the most complete set of merge workflow set is described in this TFS (Team Foundation Server) set, detailed in its TFS Brancing Guide and illustrated in this question “Servicing Branch in Standard Branch Plan“.
    Closer to git, git flow is another merging workflow quite popular.

    But you are using a DVCS, and its distributed aspect introduces another (orthogonal) workflow: a publication one (your git push -u origin prod). See “Source Control – Distributed Systems vs. Non Distributed – What’s the difference?“

    Publication, part of release management, is quite different from merge, part of development.
    By merging master to prod, you freeze what has been consolidating in development, and mark it as to be released.
    By pushing it to GitHub, you start that release process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am pretty sure I have tried everything, figured I would ask all the
I'm pretty sure someone will have done something like this before but have been
I am pretty sure that this is possible, but would just like to check.
I pretty sure I have to create some sort of mold of what the
I'm pretty sure you all know what I'm referring to. It's like a textarea,
I'm pretty sure this is not possible in Zend Framework (I have searched the
I'm pretty sure that a lot of you guys out there are using git
I am pretty sure watir-webdriver had css selector support, but looks like it is
I am pretty sure that I have initialised everything, but it still throws Object
I'm pretty sure this particular quirk isn't a duplicate so here goes. I have

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.