Git extension deploy using git's own worktree
There are limitations with the current git deployment system, including:
- You cannot edit files in-site and push them back to a repo. You must make all changes elsewhere and push them in. This can be limiting.
- You cannot see what has changed in the deployment directory. If we could "git status" we could easily find scripts that hackers installed. Currently this can be done by setting --git-dir and --work-tree options to git, but that is painful.
Thank you for your input! We will consider this functionality in upcoming releases if it will be popular.
Everyone, please continue voting for this feature if you consider it important.
Oliver Burkill commented
This would be useful. You could have dev accounts which you could edit files and push from and then live accounts that use the git autodeploy.
Mike Dilger commented
One more IMPORTANT point that I forgot. Deployment does not delete the website default template files that were already in place, and those files often break the website being deployed. Git worktree deployment synchronizes, including deletes.