반응형
명령줄을 사용하여 커밋 메시지를 검색하는 방법은 무엇입니까?
중복 가능성:
리포지토리의 모든 커밋을 검색하는 방법은 무엇입니까?
명령줄을 사용하여 커밋 헤더를 검색하는 방법이 있습니까?
git log --grep=<pattern>
Limit the commits output to ones with log message that matches the
specified pattern (regular expression).
…부터
git log --oneline | grep PATTERN
언급URL : https://stackoverflow.com/questions/3826748/how-to-search-in-commit-messages-using-command-line
반응형
'programing' 카테고리의 다른 글
| IPython 변수를 bash 명령에 대한 인수로 전달 (0) | 2023.05.04 |
|---|---|
| Android xml 오류: RelativeLayout(@id/LinearLayout_acc, @id/ProgressBar_statusScreen)이 있는 "지정된 이름과 일치하는 리소스를 찾을 수 없습니다" (0) | 2023.05.04 |
| git: 지점이 X 커밋으로 앞서 있습니다. (0) | 2023.05.04 |
| LINQ를 사용하여 컬렉션의 모든 개체 업데이트 (0) | 2023.05.04 |
| iOS5 SDK의 자동 참조 카운팅에 대한 몇 가지 질문 (0) | 2023.05.04 |