I mean, naming can be anything but main isn’t ideal because branches should be named to their purpose IMO. So I would change master to production or some flavor of that since that is the purpose of that branch anyway. Then it becomes merging feature branch into production branch triggers CI/CD and production branch gets built and installed to production. Similarly, you can have a develop branch that triggers CI/CD to a dev environment. Just my $0.02
I love good coffee, meaning strong, dark espresso! Regular Expressions are like word-puzzles to me, as are LINQ queries. I take pictures everywhere I go. Husband of 1, father of 2.
Then call it production if that works for you. It sounds like a more natural name from how you continued your reply...
The term main or mainline has been used in Source Control way before the introduction of master, it's when one or more parts arrive at the main conveyor belt in industrial assembly. It's where all the changes get merged into on their way out the door. main ain't bad. But in your environment there may be a better term.
Similarly the term trunk is used. from the 'inverted tree' picture where all branches at some point came from the trunk and where any branch can try to become the new top branch in the tree. Though merges between branches (though possible) are a long and very tedious process in actual biology.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I mean, naming can be anything but main isn’t ideal because branches should be named to their purpose IMO. So I would change master to production or some flavor of that since that is the purpose of that branch anyway. Then it becomes merging feature branch into production branch triggers CI/CD and production branch gets built and installed to production. Similarly, you can have a develop branch that triggers CI/CD to a dev environment. Just my $0.02
Then call it
production
if that works for you. It sounds like a more natural name from how you continued your reply...The term
main
ormainline
has been used in Source Control way before the introduction ofmaster
, it's when one or more parts arrive at the main conveyor belt in industrial assembly. It's where all the changes get merged into on their way out the door. main ain't bad. But in your environment there may be a better term.Similarly the term
trunk
is used. from the 'inverted tree' picture where all branches at some point came from the trunk and where any branch can try to become the new top branch in the tree. Though merges between branches (though possible) are a long and very tedious process in actual biology.