1

I wanted to ask you that I did changes in my cloned repository in my local system but I forgot to fork it with my local user account. My origin of a repository is http://github.com/repository instead of http://github.com/useraccount/repository. My question is, Is it possible to change the origin or get a fork to the cloned repository because When I push my changes to Github I am having an error:

"Unable to access 'https://github.com/repository/': The requested URL returned error: 403"

Claudio
  • 10,108
  • 3
  • 29
  • 69

1 Answers1

0

As explained here, just set

git remote set-url origin http://github.com/useraccount/repository
Claudio
  • 10,108
  • 3
  • 29
  • 69