First of all, you can use the command to view the origin
git remote -v
At this time, the display is as follows, my remote origin:
origin https://github.com/DevinY/dlaravel.git (fetch)
origin https://github.com/DevinY/dlaravel.git (push)
Here you can see that origin represents the dlaravel repo on my github.
So, if I have a branch called dlarave-dev and I want to remove it,
You can use the following command:
git push --delete origin dlaravel-dev
Open the GitHub page to view it again, and you can see that my branch has been removed.
No Comment
Post your comment