I will omit the installation of Git, you can read related articles by yourself.
Project Manager Operations
Click on 'Version Management' on the home page
The first click will pop up the pop-up window, click 'initialize Git warehouse'
Check both options, if you have not established a remote warehouse, click the link below
WeChat Developer - Code Management
Set personal password and account name, create project
Click on 'Settings' -> 'Remote'
Add a remote warehouse, the name can be customized, and the URL needs to be queried in WeChat Developer - Code Management .
After successfully adding the warehouse, you need to change the authentication method in the 'Network and Authentication'. For specific operations, please refer to the WeChat developer documentation.
https://developers.weixin.qq.com/miniprogram/dev/devtools/wechatvcs.html
When the code is changed, the changed related code files will appear in the workspace. If you need to save it to the warehouse, you need to submit the files in the workspace.
The submitted code will be saved in the local branch master first, and then click the local branch master to see the submitted code.
Then click Push in the upper left corner to save to the remote warehouse, and you can choose to save to the new branch warehouse or the old branch warehouse.
Project member operations
The project needs to be created with the administrator's appid! ! ! !
After initializing the Git repository
The pop-up window only checks to create a .gitignore file template
Click on 'Settings' -> 'Remote'
Add a remote warehouse, the name can be customized, and the URL is the same as that of the administrator
After successfully adding the warehouse, you need to change the authentication method in the 'Network and Authentication'. For specific operations, please refer to the WeChat developer documentation.
https://developers.weixin.qq.com/miniprogram/dev/devtools/wechatvcs.html
The password and username here must be filled in by yourself! ! It is not allowed to fill in the administrator's name, otherwise the user name for subsequent code submissions will be the same, and it is difficult to distinguish who modified the project code! !
Right click on the remote warehouse bar to pull