Reputation: 91
I cloned boilerplate repo in Visual Studio, and I need to use it to create another app and commit changes to my own repo on my GitHub profile, but in Team Explorer I see the link of original repo, not my repo. What should I do?
UPD:
Here, instead of based-ghost's repo, I need my profile with different empty repo. I used stock "Clone repository" function in Visual Studio 2019 Community.
Upvotes: 0
Views: 326
Reputation: 786
If you are not very used to Visual Studio i suggest using git Bash for commit and code-push.
If you need to push your project to Github ,create a Repository first and copy its url and then clone it to your machine by git clone This can be done either in git bash or Visual studio integrated git
Then copy your project contents into that cloned git repository then
git add .
git commit -m "<your message>"
git push origin <branch name>
So the code gets pushed to your repo and not someone else's
Upvotes: 1