“Git Hapus Cabang” Kode Jawaban

git hapus cabang jarak jauh

# 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

Cara menghapus cabang git secara lokal dan jarak jauh

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

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

cara menghapus cabang di git

// Delete local branch

git branch -d <local_branch_name>


// Delete remote branch

git push origin --delete <remote_branch_name>
Sore Sardine

Git Hapus Cabang

# 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 Hapus Cabang

git branch -D <branch name>
cadot.eu

Git Hapus Cabang

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

Jawaban yang mirip dengan “Git Hapus Cabang”

Pertanyaan yang mirip dengan “Git Hapus Cabang”

Lebih banyak jawaban terkait untuk “Git Hapus Cabang” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya