🚫
Important
The auth.json file is required for this to work.
Removing Plugins.
In this example, we will be editing the training-ap-panorama.
Note: If you have already cloned the repository, don’t forget to run
git pull origin "Branch_Name"
. You can skip step 1.
Step 1: .Given that you have not cloned the existing repository yet.
terminal
git clone [email protected]:training/training-ap-panorama.git
Step 2: Create a Branch.
🚫
Important
Follow Naming Guidelines.
terminal
git checkout -b 'Branch_Name'
Step 3: Open and Edit composer.json to Remove a Plugin
To remove a plugin, simply delete the package from the "repositories"
and "require"
sections.
See video here
Alternative way for Removing Internal and External Plugin
terminal
composer remove <package_name>
example : composer remove aios-packages/aios-agents
example : composer remove wpackagist-plugin/post-types-order
By running commands above you can skip step 4 it will automatically run update.
Step 4: Update Composer.
Once you are done editing the composer.json just simply run the command
terminal
composer update
Step 5: Once you are done editing the files, add or stage your changes.
terminal
git add .
Step 6: Commit the changes you’ve made.
terminal
git commit -m '<commit_message>'
Step 7: Push your changes.
terminal
git push origin 'Branch_Name'
Step 8: Create Merge Request.
terminal
https://gitlab.forge99.com/your_project_group/your_project_url
Last updated on