I'm working on a project now, and sometimes I need to finish it on another computer. When using GitHub in vs2019, the configuration file a .vcxproj file of the project will also be uploaded, which makes me unable to directly pull the code on another computer. The two computers use different disks in OpenSSL library, which leads me to manually adjust the include option after each pull code.
Is there any vs2019 configuration method (not directly changing the .gitignore file) that can only upload .h files and .cpp files without uploading .vcxproj files. I right-click the file in the GitHub window of vs2019, and there are no related options.