Life is a Beautiful Sport
  • Home
  • About
Tagged

git

A collection of 2 posts

Git 로컬 브런치 일괄 삭제 하는법
git

Git 로컬 브런치 일괄 삭제 하는법

main을 제외한 모든 로컬 브런치 삭제 하는 법 git branch -d $(git branch | grep -v main)만약 특정 브런치를 삭제할 수 없는 경우 git branch -D $(git branch | grep -v main) # 강제 삭제현재 브런치는 삭제할 수 없습니다.Merged 브런치 삭제git branch -d $(git branch --merged | grep -v "*")

  • 박 건
박 건 2021년 8월 31일 • 1 min read
git

나중에 추가된 git ignore 파일을 삭제하는 방법

How to delete git ignore files added later git rm --cached -r . 하고git add -A 하면된다.

  • 박 건
박 건 2017년 1월 2일 • 1 min read
Life is a Beautiful Sport © 2022
Powered by Ghost