There are four steps to submit code to SVN in WebStorm: Set up SVN credentials. Add SVN repository. Commit the changes. Push changes.
Submit code to SVN in WebStorm
Step 1: Set up SVN credentials
- In WebStorm, open the "Version Control" tool window (shortcut key: Ctrl 9).
- Click the "Configure Repositories" icon and select "Subversion".
- Enter your SVN credentials (username and password).
Step 2: Add SVN repository
- Click the " " button and select "Checkout from Version Control".
- Select "Subversion" and enter the repository URL.
- Click "Checkout" to clone the repository.
Step Three: Submit Changes
- After making changes to the code, right-click the project root directory and select "Version Control" > "Commit Changes".
- Enter the commit message and click "Commit".
Step 4: Push changes
- After submitting, right-click on the project root directory and select "Version Control" > "Push Changes" ".
- Select the remote warehouse and click "Push".
Tip:
- If you are unable to push changes, check your permissions and make sure you are connected to the correct remote repository.
- You can also use WebStorm's "VCS Commit Tool Window" to track and commit changes, enable it in the "Version Control" tool window (shortcut key: Alt 9).
- For more advanced SVN usage, you can visit WebStorm's documentation (https://www.jetbrains.com/help/webstorm/using-subversion.html).
The above is the detailed content of How to submit code to svn in webstorm. For more information, please follow other related articles on the PHP Chinese website!