We have discussed branching using Git in Chapter 3, Version Control with Git. We have discussed how your code should go from a commit on a development environment to a test environment, be it automatically tested and manually tested if necessary; then an acceptance environment where the customer can have a look at it and finally, a production environment where customers can use the software pretty much fully automated. So, you will have to set up a complete DTAP street (Development, Test, Acceptance, and Production), but still be able to differentiate between them all.

Perhaps you may have more or fewer environments, but you still want to know what commits are on what environment. We are going to set up one of those environments ...

Get Continuous Integration, Delivery, and Deployment now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.