Revit Secondary Development Use Git for Version Control in Visual Studio 2019
Download Git
Reference Link
==Reference Link https://blog.csdn.net/huangqqdy/article/details/83032408==
Install Configuration
Install git open git bash and input command
git config Confirm whether installed
git config –global user.name “youname” Fill in github registration ID
git config –global user.email “emailaddress” Fill in registration email address
After binding input git config –list to confirm
Visual Studio Settings
Reference Link
Configuration Steps
Create a new project:
Right click Solution Explorer

Click github in Team Explorer. If have own server can select push to remote repository

Afterwards a window will pop up, fill in corresponding info or confirm via github webpage

push project
This way project will be automatically created on github
We modify the project practically
Click commit below
Figure shows already staged, if confirm click sync
Can see upload success displayed above Team Explorer or view through output window

Then go to github to check project
Click here to see senior’s blog, clear git account logged in on vs
This way you can perform git version management for the project!






