How to deploy from git repo without server having access to repo?
问题 I have a PHP project in a BitBucket git repo. I work in a branch called "develop" for small fixes, or I work in temporary feature branches. When I'm ready to deploy, I merge those branches into "master". I want to make deploying to my live site as easy as that (merging to master and pushing to BitBucket). But I really don't want my server to have any access to my repo because that adds security concerns. If you care about security, you want your repo to be in as few places as possible. If