GIT Remote branch Deletion with Command Line | Beginners | Automation | GIT Tutorial

Published: 10 March 2023
on channel: DevOps Vijay
246
5

In this video, i will show how to delete remote git branch in GitHub or bitbucket
There are many ways to delete a remote Git branch that lives on GitHub or Bitbucket. If you have administrative access to the GitHub or Bitbucket landing pages for your repo, there are plenty simple, of point-and-click deletion options for unprotected branches. Alternatively, you can issue either of the following Git commands to delete a remote branch:

Steps to delete remote Git branches

Issue the git push origin –delete branch-name command, or use the vendor’s online UI to perform a branch deletion
After the remote branch is deleted, then delete the remote tracking branch with the git fetch origin –prune command
Optionally delete the local branch with the git branch -d branch-name command

git push origin -d branch
git push origin --delete branch
git tutorial for beginners
branching strategy in git1

poll scm
Jenkins tutorial complete step by step guide :    • Jenkins Tutorial  
How to install jenkins in windows:    • How to  Install Jenkins on Windows ? ...  
How to create first sample job in jenkins:    • How to Create First Freestyle Project...  
How to install plugin in jenkins:    • Jenkins Plugins installation | EP 04 ...  
SSH-KEYS setup :    • SSH Key Based Password Less Authentic...  
Maven installation:    • Maven Installation on Windows | EP 01...  

#github #git #gittutorial #devops #devopsvijay #devopsproject #devopstraining #branch #bash #windows11 #branch #remote #repository #cicd #jenkins #tutorial #ansible #docker #kubernetes


Watch video GIT Remote branch Deletion with Command Line | Beginners | Automation | GIT Tutorial online without registration, duration hours minute second in high quality. This video was added by user DevOps Vijay 10 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 246 once and liked it 5 people.