forked from TryGhost/Ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added configuration of git remotes to dev container setup (TryGhost#2…
…1458) no issue - Added function to Dev Container onCreateCommand to setup git remotes when creating the Dev Container - If `$GHOST_UPSTREAM` is set, it will rename the default `origin` remote to its value - It will also update the remotes for the submodules, otherwise `yarn main` will fail - If `$GHOST_FORK_REMOTE_URL` is set, it will add it as `origin`, or the value of `$GHOST_FORK_REMOTE_NAME` if set. - If `$GHOST_FORCE_SSH` is set to `true`, it will change all remotes URL's to use ssh instead of https
- Loading branch information
Showing
2 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters