From 548013e46f4b014b0b9ac113e4428a9bd3df4230 Mon Sep 17 00:00:00 2001 From: holtergram <42282368+holtergram@users.noreply.github.com> Date: Thu, 25 Aug 2022 22:39:38 +0200 Subject: [PATCH] Update docs: Added Git change remote In order to make `git push` work after renaming an app the hint was added to update the remote url --- docs/deployment/application-management.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/deployment/application-management.md b/docs/deployment/application-management.md index 92e9cfa44..08faecc7b 100644 --- a/docs/deployment/application-management.md +++ b/docs/deployment/application-management.md @@ -150,6 +150,12 @@ By default, Dokku will deploy the renamed app, though you can skip the deploy by dokku apps:rename --skip-deploy node-js-app io-js-app ``` +Remember to also change your git remote on your local machine in order to make `git push dokku main:master` work again. For this you can use `git remote set-url`. + +```shell +git remote set-url dokku dokku@dokku.me:io-js-app +``` + ### Cloning an existing app > New as of 0.11.5