vs hosting program to github
1. First you need to apply for an account on github
申请完成后你就已经成功了50%!
2. It is recommended to download a GitHub plugin to vs
Extension = "Manage extension (please search if you can't find it).
2. Host the project to github
2.1 Create project
Create project
- First create a project to be added to source control
Choose Git hosting
- Click Tools=》Options=》Source Code Manager=》Plugin Selection=》Git
Sign in
- Right-click the project and select => Create Git Repository (you will be prompted to log in at this time, if you are not prompted, you are logged in)
View
- After the warehouse is created at this time, the webpage refreshes your github warehouse and still cannot see the newly created warehouse.
Project synchronization
- At this time, the project needs to be synchronized, and select synchronization in the team explorer.
release
- Continue to click Publish to GitHub in the pop-up box
Sign in
- Then you will enter this step. Click Add/Change Accounts to add or modify accounts. The account login interface on the left will pop up.
Note : It is best to log in by email. I log in with my username, but I haven't logged in for a long time. The email is logged in at once.
Click to publish
- Next you will see that the Publish button is available. We clicked it hard.
After the previous step, the warehouse has been built. Just synchronize it.
How to submit changes to the program
- For any file editing of the current project, there will be changes to the small pen, you can click here.
- Or click the small house, and then click Change.
Submit changes
接下来输入更改了点什么内容往备注框中,再点击全部提交,更改的内容就发布到修改中了。
Remember that this step is only submitted to the local Git
Submit changes to GitHub
Just changed, it will show a pending submission in the up arrow.
Then click the push button to push to GitHub. Other members can also get this update normally.
PS: There are a lot of various operations, and I know very little. So you need to explore more.
I changed the project midway, sorry, because I am also testing/:dog head
To know how to switch hosting, please see
How to migrate a project from TFS to git or git to TFS