We help IT Professionals succeed at work.
Get Started

How to control which commits from one branch get sent to my production branch in github?

27 Views
Last Modified: 2020-07-14
Hi

I want to change the way my web team works. They normally use ftp to edit the web files directly on the dev and prod server and then afterwards commit the changes to the master branch in github.

I want the Master branch to be final web code, and then to merge all the commits from master branch to the "live" branch. A  Github Action is setup to do an ssh sync for all commits in the "live" branch to the web server.

The problem is what if I have many web designers working on the master branch, each one making different commits and one web designer is done and she wants to only make her commits live. Is their an easy way of doing this? Most of them just use Github Desktop.
Comment
Watch Question
This question hasn't been answered yet.
While you wait, find out how you can maximize your capability with the most trusted tool in IT.
Explore More Ask a Question
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE