Deleting a branch with Git
💡A branch can be deleted, this applies only to locals branches.

Hi, I'm Cristina Ramirez, I'm a computer engineer and software developer with more than 10 years of experience as backend developer, web application development, API REST services for mobile applications, system analysis and logic.
Programming languages: Ruby, PHP, C, C++, C#, CSS, JavaScript.
Frameworks: Ruby on Rails, PHP (Codeigniter, APPHP).
Experience of relational databases (Postgres, MySql, Oracle) and NoSQL databases (MongoDB, Neo4j).
I like innovation and teamwork.
1.- In this example, we are inside stable branch because we are going to delete staging branch. You should be inside a branch different that the branch you are going to delete. Use git checkout <branch's_name> command to move you between branches.
git checkout stable
2.- See all branches with git branch command.
git branch

3.- Delete the branch with git branch -d <branch's_name_to_delete> command.
git branch -d staging





