-4

I have just started working with Git and Github again, I can't seem to push material to a repo I have cloned from my Github account.

I keep getting this:

remote: Permission to tapherjspiteri/tapherjblog.git denied to

csolvex. fatal: unable to access

Any help appreciated. I used to use git with my csolvex account but that was more than a year ago. I would like to figure out how to clear this up so I can start studying again.

Community
  • 1
  • 1

2 Answers2

0

Follow this steps:- 1) git add . 2) git commit 3) git remote add origin https://github.com/user/repo.git (your git project link this is for example link so be remind) 4) git push origin master

0

Thank you to everyone's suggestions, I figured out it must be something with a previously stored password and username. I found some questions posted in stackoverflow regarding resetting the git information, I then found this link:

How do you reset the stored credentials in 'git credential-osxkeychain'?

I removed the old credentials and was able to get my material to push.

Regards,

Christopher