Transferring a project from an individual to an organization changes the git remote URL associated with the project. After transferring ownership to an organization, you must change the remote locally. This can be handled with a single cli command.
ionic git remote
You can list the remotes in your project repo using the following command.
git remotes -v
If necessary the remote can be reset manually using the following command.
git remote set-url ionic git@git.ionicjs.com:<organization name>/<app name>.git
To display the current git details in the dashboard:
- Open your app
- Select the Settings tab > Git
- Look under the Cloning from Ionic Appflow section on the Ionic Git tab
- Copy the text after clone and before --origin-ionic
The command to set the correct remote URL for the example shown above is:
git remote set-url ionic git@git.ionicjs.com:danielleselah/iss.git
Comments
0 comments
Article is closed for comments.