Open kutuup opened 4 years ago
I also have this problem (opens a repository, but doesn't sync project). (it does put a .gitattributes and a .gitignore file in there. but thats it) Also, when I open from Git, all I get are these files (no solution).
Found the solution. VS won't let you sync/push to Github until you çommit (just 'sync' isn't enough). You need to go to Team Explorer>Changes. Enter a comment (literally anything) so the 'Commit All' button becomes selectable. Click it after you enter the comment. Then you go to Team Explorer>Sync, click sync and it should work. I think GitHub does this as some kind of revertable version control...
Versions
What happened
Adding a solution to source control then hitting publish to GitHub under the sync menu creates a repo, but puts nothing in it.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Solution is published to GitHub.