vicenteguerra / git-deploy

Php Script for Auto-Pull in server (Using WebHook from GitLab, GitHub and Bitbucket)
641 stars 236 forks source link

Already up to date bug #21

Closed raupie closed 6 years ago

raupie commented 6 years ago

I have two branches (master/dev). I have git-deploy set up to use the dev branch.

I got this to work with one branch, however the second branch is not picking up any changes.

I made a code edit to a file in the dev branch, pushed it to gitlab. I can see in the deploy.log that it tried to deploy however it says everything is up-to-date. Am I missing something?

raupie commented 6 years ago

Looks like on my deployment server I needed to initialize the git repo by cloning the dev branch and not the master branch. Ugh!