티스토리 뷰
반응형
로컬 브랜치 생성하기
$ git checkout -b <브랜치이름>
원격 (remote )브랜치 생성하기
$ git push origin <브랜치이름>
origin은 따로 설정한 리모트 저장소 이름이 있다면 대체
원격 브랜치 트래킹
$ git branch -u <저장소이름>/<브랜치이름>
-u옵션 대신 --set-upstream-to로 해도됨
로컬 브랜치 삭제
$ git branch -d 브랜치 이름
다른 브랜치로 이동(checkout)해서 삭제해야함.
원격 브런치삭제
$ git push <원격브랜치이름> --delete <브랜치이름>
또는
$ git push <원격브랜치이름> :<브랜치이름>
```
git-branch - List, create, or delete branches
git branch명령어에 자세히 알고 싶다면 아래링크참조
https://git-scm.com/docs/git-branch
```
반응형
'git' 카테고리의 다른 글
| git prune 참조 안되는 원격 브랜치 값 제거 (0) | 2020.06.24 |
|---|---|
| git branch 깃 원격 브랜치 로컬에 복사 (0) | 2020.06.24 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- asciidoctorExtensions
- pessimistic lock
- sql import
- MockMvcTester
- asciidoctor sourceDir
- ContentCachingRequestWrapper caching error
- 멀티 인스턴스
- GcpFirestoreAutoConfiguration
- mysql dump sql import
- 톰캣 로그파일 자동삭제
- teefilter file upload error
- springboot
- Controller Testing
- Spring MockMvc
- CloudCDN
- ContentCachingRequestWrapper caching # ContentCachingRequestWrapper file upload
- CloudStorage
- Spring Boot
- Firebase 의존성 오류
- RAG
- Could not find org.ysb33r.gradle:grolifant:0.16.1
- url구조
- fetchapi
- Job Lock
- springai
- 톰캣 로그파일 자동 삭제
- org.asciidoctor.jvm.convert
- PreflightRequest
- LangChain4j
- spring test
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
반응형
글 보관함