✅ VS is trying to put my whole user folder on github
I wish i was making this up. I can't change it. WDID.
8 Replies
do you have a local git repository right now?
i mean i have git but i never set it up for this project
idk anything about vs's git integration, but go to the project folder and run
git init
in a terminal
then git add .
, git commit -m "Initial Commit"
, git remote add origin (your repository URL)
, git push --set-upstream origin master
you'll need a gitignore before committing if you don't have one, dotnet new gitignore
will add a reasonable default for C# projects
@Jimmacle sorry for ping - it gave me an error and idk what to do with it, why did it search for that file?
probably because it's there and you didn't exclude it in the gitignore if you don't want it
dunno about the permission issue, that's not a git specific thing
i just found out that this applies to all VS projects ;-;
it's not a file you want to commit to your repo anyway
hold on it suddenly works
i am not gonna question it