Questions tagged [branch]

For question about branches in revision/version control systems

Filter by
Sorted by
Tagged with
0 votes
2 answers
195 views

One azure-pipeline.yaml for staging and production

Currently I have two separate Azure DevOps Pipeline config files: azure-pipelines-staging.yaml azure-pipelines-production.yaml Really the only differences in them are the: trigger: branches: ...
user avatar
  • 155
1 vote
1 answer
152 views

How do I trigger a build pipeline on a TFVC branch commit to map and get that branch?

I have project in DevOps TFVC not Git. I use branches, they live and die in the order of months. I want to create a build pipeline that is triggered when a commit is done on any of the branches and ...
user avatar
3 votes
1 answer
241 views

Trunk Based Development - release branch testing

We are currently using Git flow branching strategy and looking to go to a trunk based strategy - although we are quite a ways away from getting there I am trying to get all my ducks in a row, ...
user avatar
  • 71
4 votes
1 answer
73 views

Deploying and testing features on a server by more than one developer

I have 4 environments (prod/preprod/SIT/DEV), also two main branches (Master & Develop), two developers work on features (One & Two). Developer One creates a feature (Feature A), he then ...
user avatar
  • 41
0 votes
3 answers
198 views

Should I use release branch to push my changes?

Should I use a release branch to push changes out to production or release it off master branch - the main pipeline where changes are merged by developers of their feature branches? Not to mention, ...
user avatar
  • 21
0 votes
2 answers
7k views

CI/CD pipelines Azure devops automatic merge after deploy release

I have a classic env. setup like following: I have 2 branches : Develop and Master. Is there any way in azure devops to setup the following rule: When a deploy is succeeded on dev environment (...
user avatar
0 votes
1 answer
751 views

Recommended SVN branching strategy for DevOps

We are using SVN as our version control system and we are using the below standard layout for our projects. Tags Branches Trunk Trunk: -> Trunk will always hold the latest code changes. ...
user avatar
  • 5
2 votes
1 answer
48 views

Alternating VC branches to build deployment artifacts for different environments

We use Jenkins for CI. The app is written in Java, built with Maven (invoked manually in local dev environments and by Jenkins), deployed on various Tomcat servers. Nothing unusual about the ...
user avatar
10 votes
2 answers
141 views

How to avoid branchageddon with large organisations?

How do you avoid a branchageddon situation when working with large organisations? We work with a number of large financial organisations whose approach is to not take updates to software, but ...
user avatar
8 votes
3 answers
2k views

How to create staging servers for multiple git branches?

I have to create a new staging process for our development and testing. At any given time, there are only around 4 git branches actively being developed and tested. Within each git branch, there may ...
user avatar
  • 81
7 votes
1 answer
668 views

What is the cleanest branching strategy to use when creating reusable artifacts?

If I have 3 environments : integration, staging, and production, what is the cleanest branching strategy to use, assuming I want to reuse my deployed artifact? For example, should feature branches be ...
user avatar
  • 650
4 votes
2 answers
283 views

Would choosing the integration branch strategy be part of DevOps?

In a mature DevOps organisation would choosing a product/product line integration branch strategy be part of DevOps? What do I mean by integration branch strategy? For example a product team has to ...
user avatar
7 votes
2 answers
389 views

What branching strategies/workflows are available for Git repositories?

I'm looking for a high-level, summary description of the recommended branching strategies/workflows primarily applicable with Git, which would serve as a guide for navigating this environment. ...
user avatar
22 votes
4 answers
4k views

How to get rid of develop branch for simplified Git flow

In a continuously developed web project (not a product) we currently have the following branching strategy, roughly based on git flow: develop branch: latest working version master branch: version to ...
user avatar
15 votes
4 answers
397 views

How to transition from a complex branching reality to a single-branch model?

In large organisations, using the waterfall methodology typically results in very complex branching structures (aka branch spagetti). What branching strategies can be used to transition from a ...
user avatar