로컬 및 원격 Git 분기 제거
일반적으로 하나의'주'주분지가 있는데, 우리가 지점의 변경에 만족하면 우리는 그것들을 주분지와 합병할 수 있다.
분기 코드가 작동하지 않으면, 분기를 삭제하거나, 통합된 후에 분기를 삭제할 수 있습니다.부분적으로 지점을 제거하는 것부터 시작합시다.
로컬에서 지점을 삭제하려면 먼저 지점을 처리하지 않았는지 확인하십시오.다음과 같이 분기를 변경할 수 있습니다. 즉, 주 분기로 돌아갈 수 있습니다.
   git checkout master
   // -d (delete) to remove only if you have pushed and merged
   // it with your remote branch
   git branch -d branch_name
   // -D (delete/force) to remove even if you have not pushed and merged
   // it with your remote branch
   git branch -D branch_name
   git push <remote> --delete <branch_name>
   // which looks something like this with your variables:
   git push origin --delete new_checkout_flow
Reference
이 문제에 관하여(로컬 및 원격 Git 분기 제거), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/chrisdixon161/deleting-git-branches-locally-and-remotely-4cm1텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)