Is cloning from main repository and cloning from forked repository different? I forked a repository but cloned it from the main repository. Now when I am trying to push my local code to remote, it returns a error saying that access is denied. What did I do wrong?
Asked
Active
Viewed 31 times
0
-
1The difference is that in one case the remote is the main repository and in the other case the remote is the forked repository. – mkrieger1 Aug 14 '21 at 13:35
-
1Did you want to push your changes to the main or the forked repository? – mkrieger1 Aug 14 '21 at 13:36
-
To the forked repo – nubgrammer Aug 14 '21 at 13:44
-
1Then you need to set up the forked repository as a remote. – mkrieger1 Aug 14 '21 at 13:50