'How to migrate the commits in pre-production to production repository

We have a configuration file with a lot of standzas. Development team has changed some of them. Can I use the commits they've done and migrate the change to production environment?

Example: [server01] ... ... country=UK #this's changed from United Kingdom

[server02] #unchanged ...

[server05] enabled = true #this is changed from false

...

server01 and server05 are changed in one commit. I need to push the changes to production chaning the stanzas of server01 and server05. Is there a quick way to do this?

git


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source