git TutorialIntroduction Installing Git Understanding Git architecture Initializing the new Git respository Cloning new Git repository .git directory in Git repository Viewing Git configuration First time Git configuration Using SSH keys with Git Checking Git status Adding files into staging area in Git Committing changes to the local repository Ignoring files using .gitignore Viewing the history of commits Viewing the file contents in working directory, staging area and repository Viewing difference between files Viewing the history of files Git revert Git Reset git reflog Creating and switching to new branches in Git Viewing existing branches Merging branches Resolving conflicts Rebase Deleting branches Renaming the branch in Git Push Pull Stashing the changes in Git Tags in Git Patches in Git Creating new repository on GitHub Pushing local repository to remote repository like GitHub IntelliJ IDEA
Deleting the branches in git
Deleting local branchesYou can delete the branch in git using below command.
If the branch you are deleting has some un-merged changes, you will not be allowed to delete the branch. To force delete the branch, you can use below command.
git branch -d branch_name
git branch –D branch_name
Deleting remote branches
git push origin –delete branch_name
Web development and Automation testing