본문 바로가기
반응형

github3

[Github] personal access token 생성하기 Support for password authentication was removed on August 13, 2021. Please use a personal access token instead "$ git push some-repository" 를 하려는데 아래와 같은 오류 메시지가 나옵니다. Support for password authentication was removed on August 13, 2021. Please use a personal access token instead 해석하면 "비번ㄴㄴ, personal access token ㄱㄱ" 라네요. 보안상 정책이 바뀌었나 봅니다. 그럼 personal access token 을 생성해 봅시다. 이미 사용하고 있는 Token 들이 있네.. 2021. 11. 9.
[Github] Repository 이동하기 clone/mirror Repository move 다른 계정의 git 등으로 repository 를 이동 시킬 때 commit 등의 이력까지 같이 이동 시키는 방법입니다. git clone --mirror {기존 리파지토리 주소} cd {기존 리파지토리 명}.git git remote set-url --push origin {신규 리파지토리 주소} git push --mirror 예제 기존 Repository 는 https://github.com/hello-bryan/HelloOpenCV.git 라고 하겠습니다. 그리고 새로 옮겨질 repository 를 아래와 같이 만들어 두겠습니다. 생성하면 Git url 을 복사합니다. 기존 : github.com/hello-bryan/HelloOpenCV.git 신규 : github... 2020. 7. 20.
[Github] Github Desktop 으로 같은 소스 수정했을 때 Merge 하기 Github Desktop 으로 Merge 하기 테스트 방법은 1. github.com 에서 직접 소스를 수정. 2. 로컬에서 같은 소스를 다르게 수정한 후 Github Desktop 으로 commit -> push 했을 때 어떻게 되는지 원래 파일 내용은 이렇습니다. github.com 에서는 을 추가하고, 로컬에서는 body 텍스트를 추가해보고, commit , push 해보겠습니다. GitHub Desktop 에서 커밋. 그리고 Push 하면 ! 이런 경고창이 뜹니다. 대충 "로컬 브랜치가 최신이 아니라서 푸쉬커밋할 수 없다"는 내용입니다. [Fetch] 버튼을 눌러줍니다. [Pull origin] 을 눌러줍니다. pull 은 서버에 있는 소스를 땡겨오는거죠. 그리고 history 를 보시면 아까 .. 2020. 7. 16.
728x90
반응형