Reputation: 77
Let's say I cloned someone else's repository from git
git clone [some youtube parser]
I changed it a bit and want to save it as my project. When I type git push, it says remote: Permission to *** denied to myusername.
Which makes sense, as it is not my repository.
My own repository has url https://github.com/myusername/Projects
I want my project to be saved in that url in a new folder called "youtube parser". How to do that?
Upvotes: 0
Views: 4328
Reputation: 3531
Have you tried?
git remote set-url origin https://github.com/myusername/Projects
git push -u origin master
Upvotes: 2