Merge pull request #4421 from dokku/4415-worktree-git-dir

Keep the git directory for worktree-enabled installations
This commit is contained in:
Jose Diaz-Gonzalez
2021-02-21 02:45:23 -05:00
committed by GitHub
4 changed files with 125 additions and 51 deletions

View File

@@ -111,6 +111,8 @@ dokku git:set node-js-app keep-git-dir false
dokku git:set node-js-app keep-git-dir ""
```
Please keep in mind that setting `keep-git-dir` to `true` may result in unstaged changes shown within the built container due to the build process generating application changes within the built app directory.
### Initializing an app repository from a remote repository
> The application must exist before the repository can be initialized