원격 및 로컬 분기 삭제

코드 예제

55
0

원격에서 분기 삭제

// delete branch locally
git branch -d localBranchName

//delete local branch that is unmerged
git branch -D localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
36
0

힘내 삭제 분기

## git version 2.25.1

## Deleting local branches
git branch -d localBranchName
## Deleting remote branches
git push origin --delete remoteBranchName

## Deleting both a local and a remote branch
## They are completely separate objects in Git. But
git branch -d localBranchName && git push origin --delete remoteBranchName
15
0

원격 자식 분기 삭제

git push --delete remoteName branchName
6
0

힘내 분기 로컬 및 원격 삭제

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
4
0

git 로컬 git 에서 원격 브랜치 삭제

# Fetch changes from all remotes and locally delete 
# remote deleted branches/tags etc
# --prune will do the job :-;
git fetch --all --prune
1
0

자식 분기 원격 삭제

git push -d origin <branch_name>

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................