docs: add warning regarding shallow clone pushes
Closes #4405 [ci skip]
This commit is contained in:
1 parent
757a829137
commit
36e02c74fd
1 file changed
+2
@@ -19,6 +19,8 @@ Git-based deployment has been the traditional method of deploying applications i
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
> Warning: Pushing from a shallow clone is not currently supported and may have undefined behavior. Please unshallow your local repository before pushing to a Dokku app to avoid potential errors in the deployment process.
|
||||||
|
|
||||||
### Initializing an application
|
### Initializing an application
|
||||||
|
|
||||||
When an application is created via `git push`, Dokku will create the proper `pre-receive` hook in order to execute the build pipeline. In certain cases - such as when fronting deploys with the [`git-http-backend`](https://git-scm.com/docs/git-http-backend) - this may not be correctly created. As an alternative, the `git:initialize` command can be used to trigger this creation:
|
When an application is created via `git push`, Dokku will create the proper `pre-receive` hook in order to execute the build pipeline. In certain cases - such as when fronting deploys with the [`git-http-backend`](https://git-scm.com/docs/git-http-backend) - this may not be correctly created. As an alternative, the `git:initialize` command can be used to trigger this creation:
|
||||||
|
|||||||
Reference in new issue
Block a user