git menghapus cabang yang tidak ada di jarak jauh
git fetch --all --prune
Juice WRLD
git fetch --all --prune
git push origin -d test
git fetch origin --prune
#delete remote branch
git push -d <remote_name> <branch_name>
#example: git push -d origin new_feature
#delete local branch
git branch -d <branch_name>
#example: git branch -d new_feature
// Delete branch locally
% git branch -D <branch-name>
// Delete branch remotely
% git push origin --delete <branch-name>
$ git push -d <remote_name> <branchname>
$ git branch -d <branchname>