231106 개발일지 TIL - remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/[계정]/[저장소 이름].git/

The Web On Everything·2023년 11월 5일
0

개발일지

목록 보기
180/269

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/계정/저장소명.git/'
dev@ui-MacBookAir FE % git push --mirror https://github.com/계정/저장소명.git

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/계정/저장소명.git/'

문제 발생
vscode 터미널에서 명령어로 gitlab 프로젝트 저장소를 github에 미러링으로 복제하는 과정에서 발생

해결 방법

vscode의 사용자계정을 github와 연동해주면 해결

느낀 점
gitlab 프로젝트를 github에 미러링하려면 일일이 푸쉬를 보내줘야 해서 번거롭다. 그렇다고 gitlab 프로젝트 내부에 개인 계정을 연결할 수도 없고... 그래도 이렇게라도 미러링이 되는 것이 어디인가!

profile
오늘은 무슨 오류를 만날까?! 널 만나러 가는 길~ LOL

0개의 댓글