Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Runtime data area
- Hotspot VM
- try-with-resources
- Kotlin
- jetbrain
- optional
- 동작방식
- 코딩테스트
- try-catch-finally
- execution engine
- 4-way-handshake
- n+1
- webflux
- 람다표현식
- jvm
- closeable
- Class Loader
- springboot
- GC
- zipWith
- intelij
- resilience4j
- AutoCloseable
- feign
- tcp
- circuitbreaker
- try-catch
- 날짜쿼리
- java
- wagon-ssh
Archives
- Today
- Total
JuBin's personal study blog
[GitHub] 토큰 인증 로그인하기(21.08.13 이후 아이디/비번 로그인 지원 바뀜) 본문
반응형
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: unable to access 'https://github.com/****/***.git/'
평소와 같이 작업 도중 push를 하려고 하니 다음과 같은 에러가 발생하였다.
알아보니 비밀번호 인증은 2021년 8월 13일까지만 지원하였고, 이후 개인 엑세스 토큰이나 ssh 둘중 하나로 인증을
해야한다.
Github Setting -> Developer settings -> Personal access tokens -> generate new token 으로
토큰을 생성한뒤 토큰을 개인적으로 잘 메모 해놓은뒤
gitbash를 통하여
>> git remote set-url {upstream/origin} https://{TOKEN}@{REPOSITORY_URL
명령어 한줄로 인증을 바꾸었다.
- {upstream/origin} : fetch or pull or push steam (upstream 혹은 origin)
- {TOKEN} : github에서 생성한 token
- {REPOSITORY_URL} : clone용 .git 주소가 아닌 실제 레포지토리 url
ex) git remote set-url origin https://{생성한 token값}@github.com/wnqlsdl63/Spring-WebFlux
반응형