We can use this shell script command to remove all GIT local branches
git branch | xargs -I{} git branch -d {}
After running the command above, your GIT local branches will be removed except the current GIT branch.
We can use this shell script command to remove all GIT local branches
git branch | xargs -I{} git branch -d {}
After running the command above, your GIT local branches will be removed except the current GIT branch.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น