git operation notes

1. Initialize the local project
git init


2. Create a remote project in http mode, origin is the name of the remote server
git remote add origin http://username:password@serverdomain/xujiawei/aoke_finance.git


3. Use the local code to push to the remote server to create the master branch, origin is the name of the remote server
git push origin master


4. Create a local branch
git branch develop


5. Push the local branch to the server
git push origin develop

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326524383&siteId=291194637