Production Deployment Using Git on a “Bare” Repository

The aim is to push only specific files and directories to your production server. Problem: I had run into a number of articles demonstrating solutions with subtrees and branches, but most required a working tree on the production side. Maybe I just don’t understand how to properly use a subtree… Solution: Create a new branch … Continued

Tags: