“Git Delete Branch” Réponses codées

Git Supprimer la branche distante

# 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

Comment supprimer une branche git localement et à distance

$ git push -d <remote_name> <branchname>
$ git branch -d <branchname>

// In most cases, <remote_name> will be origin.
Stefano

Comment supprimer la branche sur git

// Delete local branch

git branch -d <local_branch_name>


// Delete remote branch

git push origin --delete <remote_branch_name>
Sore Sardine

Git Delete Branch

# 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 Delete Branch

git branch -D <branch name>
cadot.eu

Git Delete Branch

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

Réponses similaires à “Git Delete Branch”

Questions similaires à “Git Delete Branch”

Plus de réponses similaires à “Git Delete Branch” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code