“Supprimer la branche git” Réponses codées

git supprimer la télécommande

$ git remote -v
# View current remotes
> origin  https://github.com/OWNER/REPOSITORY.git (fetch)
> origin  https://github.com/OWNER/REPOSITORY.git (push)
> destination  https://github.com/FORKER/REPOSITORY.git (fetch)
> destination  https://github.com/FORKER/REPOSITORY.git (push)

$ git remote rm destination
# Remove remote
$ git remote -v
# Verify it's gone
> origin  https://github.com/OWNER/REPOSITORY.git (fetch)
> origin  https://github.com/OWNER/REPOSITORY.git (push)
Frantic Fox

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

Supprimer une branche dans la commande git

git branch -d existing_branch_name
akileus

Supprimer la branche git

git branch -d  local_branch_name
Andrea Maiolo

Réponses similaires à “Supprimer la branche git”

Questions similaires à “Supprimer la branche git”

Plus de réponses similaires à “Supprimer la branche git” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code