I have an existing repo on GitHub that contains a .gitignore for Visual Studio and a Readme file.
To add a project to the repo, I follow these steps:
- Create a new F# console project.
- Right-click the top level folder in the project and select Publish in Version Control.
- I am asked to enter my credentials. I cancel this operation, since I know it will fail until I perform an update from the repo.
- After cancelling the push, I can select update from the version control context menu for the solution.
- After entering my credentials, the update completes. (For some reason, I have to enter my credentials multiple times.)
- Now I can perform a push that will succeed. All of the files for the project will be added to the repo.
I am unable to store my username and password credentials in Visual Studio. I have added the credential manager at the command line, and am able to push, fetch, pull without having to re-authenticate. If anyone knows how to remember credentials in Visual Studio for Mac, please let me know.
No comments:
Post a Comment