1.

What is the command used to delete a branch?

Answer»
  • To DELETE a branch we can simply use the command git branch –d [head].
  • To delete a branch locally, we can simply run the command: git branch -d <local_branch_name>
  • To delete a branch remotely, run the command: git PUSH origin --delete <remote_branch_name>
  • Deleting a BRANCHING scenario occurs for multiple REASONS. One such REASON is to get rid of the feature branches once it has been merged into the development branch.


Discussion

No Comment Found