Moving a repo to a new repo

I’m somewhat new to github. I just pushed a php project to my remote repo /php but I realized I want it to go to a repo called php-modDB I tried to go back and do git add * but it wouldn’t set up to let me push it. I’m sporry for the newbie question but how do I move the contents of my local dir to a new repo?

1 Like

I’m not sure what you’re trying to do: Do you want to rename the whole “php” repository, or do you want to move a few files to a new repository?

And either way: What exactly are the commands you’re using and what errors are you getting?