250x250
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 | 31 |
Tags
- map
- sql
- date
- CSS
- 힙덤프
- 리소스모니터링
- Calendar
- html
- 스프링부트
- GC로그수집
- union_find
- Java
- Union-find
- spring boot
- JPA
- NIO
- Properties
- alter
- deque
- string
- dfs
- set
- javascript
- BFS
- math
- List
- priority_queue
- 큐
- scanner
- 스택
Archives
- Today
- Total
매일 조금씩
Git 원격 저장소 URL 변경하기 본문
728x90
반응형
기존 원격 저장소 URL을 변경하기 위해 git remote set-url 명령어를 사용합니다:
$ git remote -v
# View existing remotes
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
$ git remote set-url origin https://github.com/user/repo2.git
# Change the 'origin' remote's URL
$ git remote -v
# Verify new remote URL
origin https://github.com/user/repo2.git (fetch)
origin https://github.com/user/repo2.git (push)
만약 intelliJ에서 변경해주고 싶다면
'Git > Manage Remotes ..' 에서 직접 url 을 수정해주면 된다.
728x90
반응형