티스토리 뷰
remote에서 머지된 브랜치 일괄 삭제하기
// master, feature 브랜치 제외 머지된 브랜치 삭제하기
git branch --merged | grep -v '\*' | grep -v master | grep -v feature | xargs -n 1 -r git branch -d
참고: https://digitaldrummerj.me/git-remove-local-merged-branches/
Git - Remove Local Branches That Are Merged or No Longer Exist
After a while your list of local git branches can get a bit out of control especially if you doing all of your development on a branch, creating a pull request, merging it to main and then deleting the remote git branch when it is merged into main. Once th
digitaldrummerj.me
'공부합시다' 카테고리의 다른 글
Oracle 시퀀스(Sequence)와 Identity Column (0) | 2024.05.22 |
---|---|
VIM 명령어 (0) | 2023.07.07 |
JS Array 중복 제거하는 방법 ES6 (0) | 2021.08.05 |
마크다운 사용법 (0) | 2021.05.26 |
redis-cli 비밀번호 설정하기 (0) | 2021.02.16 |
댓글
- Total
- Today
- Yesterday
TAG
- 자바스크립트
- composer-self-update
- aaa패턴
- 테스트_다중트랜잭션
- VIM-COMMAND
- composite-primarykey
- Python
- php
- 정의
- php-laravel
- session+token authorize
- composer-install
- addMonth
- redis
- 라라벨
- 둘이상인증한번에사용하기
- 메일
- laravel-test
- POP3
- php-composer
- Laravel
- 정규식
- graphql-php
- 나는욕심쟁이
- graphql
- exception-test
- django
- MySQL
- addMonthWithoutOverflow
- vim
공지사항