How to allow the client to switch git branches on a website? (*without technical knowledge, for QA)

0 votes

I need to find a way for our client(s) to switch branches on a project (website) without technical knowledge.
We push our features/fixes to separate branches, but when we need to get the client's approval - we have to merge them to a main development branch & pull to a UAT (test) server. When it's all approved we merge the development branch to the production branch & pull to the production servers.
The problem is when we merge more then one branch, 4 for example, and the client only accepts 2 of them. In that case we have 2 options: 

  1. Fix the other 2 or wait until they are accepted.
  2. Play with git to undo the merge & merge again only the approved branches.

I'm not happy with both of the options.

Is there any simple way to allow the client to just switch the branches on the UAT (test) server so we only merge after approval?

*By "client" I mean - Someone who has no technical knowledge at all, who doesn't know what linux/ssh/git/... is.

Can anyone help me with this ?

Thanks.

Jun 17, 2018 in Git & GitHub by Atul
• 10,220 points
35 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I think ,except the two options you thought, there is another way:

  • Create a branch temp from development (same usage as development) for client use.
  • Merge the branches you worked into temp.
  • After client approved part of branches, then you can merge these approved branches into development and then merge development into production.
I hope the above information would be helpful for you.
answered Jun 17, 2018 by shubham
• 6,560 points

Related Questions In Git & GitHub

0 votes
1 answer

How to view the nested workflow of a local git repository?

The ‘git log’ command is your closest ...READ MORE

answered Jul 4, 2018 in Git & GitHub by Sophie may
• 9,330 points
44 views
0 votes
1 answer

How to solve the ‘Git commit -a error’?

This happens when no editor is set. ...READ MORE

answered Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,280 points
31 views
0 votes
1 answer

How to forcefully commit a file to Git even if the file is ruled as unchanged?

This is simple, just follow the below ...READ MORE

answered Jul 11, 2018 in Git & GitHub by Sophie may
• 9,330 points
23 views
0 votes
1 answer

How to locate Git installation folder on a Mac OS X?

By default the git homepage installs into ...READ MORE

answered Aug 6, 2018 in Git & GitHub by Sophie may
• 9,330 points
400 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Trying to analyse Sonarqube from Drone.io in Github PRs

Just try the below steps.The DRONE_PULL_REQUEST environment variable has ...READ MORE

answered Jun 27, 2018 in Git & GitHub by shubham
• 6,560 points
144 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.