728x90
작업 디렉토리로 이동
현재 브랜치에 commit 내역 없이 하나의 commit 내역 이동
git cherry-pick --no-commit <commit_hash>
git reset
현재 브랜치에 commit 내역 없이 여러개 commit 내역 이동
git cherry-pick --no-commit --no-apply <commit_hash1>^..<commit_hash2>
git reset
스테이징 영역으로 이동
현재 브랜치에 commit 내역 없이 하나의 commit 내역 이동
git cherry-pick --no-commit <commit_hash>
현재 브랜치에 commit 내역 없이 여러개 commit 내역 이동
git cherry-pick --no-commit --no-apply <commit_hash1>^..<commit_hash2>
commit 영역으로 이동
현재 브랜치에 commit 내역 복사
git cherry-pick <commit_hash>
728x90
'잡부' 카테고리의 다른 글
[IntelliJ] 전체 파일검색(CTRL + SHIF+F) 안될때 해결 방법 (0) | 2023.07.06 |
---|---|
[Eclipse] An error has occurred. See error log for more details.'boolean com.ibm.icu.text.UTF16.isSurrogate(char)' 해결법 (1) | 2023.05.08 |
[OpenSearch] OpenSearch로 Application Log 확인하기 (0) | 2023.05.03 |
[GIT] Git 유효한 소스 경로/url이 아닙니다 해결법 (0) | 2023.04.19 |
[GIT] GithHub 레파지토리(Repository) 삭제하기 (0) | 2022.11.14 |