pocketarc/git-deploy-php

git-deploy-php uploads files in working dir

pocketarc opened this issue · 2 comments

When deploying, git-deploy uploads the files in my working dir, not the files in the git repo. So if I made changes that I haven't committed, they're still deployed. This isn't the way it's meant to work at all.

Ciki commented

Well, maybe you could make use of git show <treeish>:<file> (more on http://gitready.com/intermediate/2009/02/27/get-a-file-from-a-specific-revision.html)
This would be quite handy feature ;-)

That beats what I've done with git checkout for 2.0, without a doubt. Have just changed it to use that instead.