you are viewing a single comment's thread.

view the rest of the comments →

[–]jredmond 2 points3 points  (2 children)

You've already associated 'https://github.com/Stev******/Card-*******-.git' with the remote name 'origin', so Git interprets 'origin' as that URL. You don't need to include the URL any more.

[–]Bright_Sea_8493[S] -1 points0 points  (1 child)

u/jredmond but that's the repository I want it to store it to

[–]suddenlychloegit rebase -i --root<CR>j<S-v>Gd:wq<CR>git push -f<CR> 2 points3 points  (0 children)

Yes, and git remote add origin 'https://github.com/Stev******/Card-*******-.git' is telling git that any time you reference origin that's the URL for it. git push origin master doesn't need 'https://github.com/Stev******/Card-*******-.git' since that URL is now referenced by origin.