git] remote: Permission to {계정1}/{프로젝트명}.git denied to {계정2}.

·1 min read

여러 계정 사용 중, 원격 repository에 push

 


 

git push -u origin main
Reinitialized existing Git repository in /Users/johnnyji/projects/courtNotifi/.git/
[main (root-commit) 3ab33fc] first commit
 1 file changed, 1 insertion(+)
 create mode 100644 README.md
remote: Permission to yigongyikong/courtNotifi.git denied to johnnyji-dev.
 

 

 

johnnyji@JohnnyJIui-MacBookPro courtNotifi % git help -g
The Git concept guides are:
   core-tutorial    A Git core tutorial for developers
   credentials      Providing usernames and passwords to Git
   cvs-migration    Git for CVS users
   diffcore         Tweaking diff output
   everyday         A useful minimum set of commands for Everyday Git
   faq              Frequently asked questions about using Git
   glossary         A Git Glossary
   namespaces       Git namespaces
   remote-helpers   Helper programs to interact with remote repositories
   submodules       Mounting one repository inside another
   tutorial         A tutorial introduction to Git
   tutorial-2       A tutorial introduction to Git: part two
   workflows        An overview of recommended workflows with Git

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
See 'git help git' for an overview of the system.