K
K
kirillleogky2019-09-15 17:32:45
Google Maps
kirillleogky, 2019-09-15 17:32:45

How do you delete branches in GitHub?

Tell me what the following commands do and how they work:
1)git branch --delete branch name
2)git branch -d branch name
3)git push origin --delete branch name
4)git push --delete origin branch name
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nujabes37, 2019-09-15
@kirillleogky

Firstly, not in github, but in git. Next:
1. Deletes the local branch
2. Same as 1.
3. Deletes the remote branch in the repository.
4. Perhaps the same as 3
But how they work has already been suggested to you in the comments.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question