“Usuń gałęznę git” Kod odpowiedzi

Git Usuń lokalny oddział

# Delete remote branch
git push origin -d remote_branch_name

# Delete local branch
git branch -d local_branch_name

# Force delete if getting merge error
git branch -D local_branch_name
Tofufu

Jak usunąć gałąź na git

// Delete local branch

git branch -d <local_branch_name>


// Delete remote branch

git push origin --delete <remote_branch_name>
Sore Sardine

Usuń gałąź

# deleting a local branch
$ git branch -d <branch_name>
$ git branch -D <branch_name> # forced

# deleting a remote branch
$ git push <remote_name> --delete <branch_name>
Joeyeyey

Git Usuń gałąź

git branch -D <branch name>
cadot.eu

Usuń gałęznę git

# delete branch locally
git branch -d <branchName>
#example 
git branch -d test
# you add ,commit but not merged and can not delete the branch , use this one
#just use capital D 
git branch -D <branchName> 
#example 
git branch -D test
polyglot orca

Git Usuń gałąź

git branch -D branch_name_to_delete
#forces deletion of branch named
Michael Futral

Odpowiedzi podobne do “Usuń gałęznę git”

Pytania podobne do “Usuń gałęznę git”

Więcej pokrewnych odpowiedzi na “Usuń gałęznę git” w Shell/Bash

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu