문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
wiki:3party:scm:git [2021/08/30 18:53] dhan |
wiki:3party:scm:git [2023/04/26 11:42] (현재) dhan |
||
|---|---|---|---|
| 줄 143: | 줄 143: | ||
| </ | </ | ||
| - | ===== Tip ===== | + | ===== 자격 증명 |
| + | * [[https:// | ||
| + | ===== Tip ===== | ||
| + | 원격 저장소 URL 변경하기 | ||
| + | gitbash에서 다음과 같이 진행하면 됨 | ||
| + | <code bash> | ||
| + | // 먼저 해당 git 저장소로 이동 | ||
| + | // 현재 설정 보기 | ||
| + | $> git remote -v | ||
| + | # View existing remotes | ||
| + | origin | ||
| + | origin | ||
| + | // 저장소 변경 | ||
| + | $> git remote set-url origin https:// | ||
| + | // 변경된 저장소 확인 | ||
| + | $> git remote -v | ||
| + | # View existing remotes | ||
| + | origin | ||
| + | origin | ||
| + | $> git remote -v | ||
| + | </ | ||
| + | \\ | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | \\ | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| Checkout conflict with files: 대상 파일 \\ | Checkout conflict with files: 대상 파일 \\ | ||
| 줄 150: | 줄 174: | ||
| Eclipse 에서 git pull 실행 시, The current branch is not configured for pull 에러 발생 \\ | Eclipse 에서 git pull 실행 시, The current branch is not configured for pull 에러 발생 \\ | ||
| [[http:// | [[http:// | ||
| + | |||
| \\ | \\ | ||
| + | remote: HTTP Basic: Access denied 오류 처리 방법 | ||
| + | > 잘못된 계정이 저장된 경우 | ||
| + | git bash에서 차례대로 아래의 명령어를 실행한 수 pull 실행 | ||
| + | <code bash> | ||
| + | $> git config --local --unset credential.helper | ||
| + | $> git config --global --unset credential.helper | ||
| + | $> git config --system --unset credential.helper | ||
| + | // 계정 정보를 계속 물어볼 경우 | ||
| - | ===== Ref ===== | + | </ |
| - | {{tag> | + | \\ |
| + | |||
| + | |||
| + | ===== Ref ===== | ||
| + | * [[https:// | ||
| + | * {{wiki: | ||
| + | |||
| + | {{tag> | ||