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 |
Tags
- Spring
- KEVISS
- 필드 주입
- 조합
- VUE
- DDL
- docker
- StringBuilder
- cache
- 재정의
- 테스트 코드
- AOP
- lambda
- 바이너리 카운팅
- java
- SQL
- stream
- jwt
- jpa
- Test
- hashcode
- MSA
- static
- 생성자 주입
- DI
- equals
- 열 속성
- 인덱스
- select_type
- redis
Archives
- Today
- Total
백엔드 개발자 블로그
git 자동 로그인 설정 본문
1. git clone 시 아래와 같이 에러 발생
remote: The project you were looking for could not be found or you don't have permission to view it.
2. 문제 원인
자동 로그인 설정이 되어있어서 저장되어 있던 계정으로 접근하여 문제 발생
3. 기존 계정 설정 삭제
-- 자동 로그인 삭제
git config --system --unset credential.helper
-- 전체 사용자 이름 삭제
git config --global --unset-all user.name
-- 전체 사용자 이메일 삭제
git config --global --unset-all user.email
4. 계정 설정
git config --global user.name "이름"
git config --global user.email "git@email"
5. 자동로그인 설정
git config --global credential.helper 'cache --timeout 7200'
2시간 - 7200
1일 - 86400
7일 - 604800
30일 - 2592000
7. 설정 확인
git config --global --list
'ETC > 트러블 슈팅' 카테고리의 다른 글
where 절에 별칭을 재사용하지 못하는 이유 (2) | 2024.09.09 |
---|---|
조합 (0) | 2024.08.14 |
순차 스트림 vs 병렬 스트림 (1) | 2024.07.24 |
트러블 슈팅 목록 (0) | 2024.04.29 |
DI 방법으로 인한 Error (0) | 2023.12.15 |