Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete remote git branch

git push --delete remoteName branchName
Comment

delete git branch remote

git push -d origin <branch_name>
Comment

git delete remote branches in local git

# Fetch changes from all remotes and locally delete 
# remote deleted branches/tags etc
# --prune will do the job :-;
git fetch --all --prune
Comment

delete git branch from remote

git push origin --delete <your remote branch name>
Comment

Delete a branch from remote

git push origin --delete Test_Branch
Comment

git delete remote branch

#delete remote branch
git push -d <remote_name> <branch_name>
#example: git push -d origin new_feature

#delete local branch
git branch -d <branch_name>
#example: git branch -d new_feature
Comment

git delete branch remote

$ git push -d <remote_name> <branchname>
$ git branch -d <branchname>
Comment

git delete remote branch

$ git branch -d feature/login
Comment

delete a remote branch in git

// delete branch remotely
git push origin --delete remoteBranchName
Comment

delete remote git branches matching pattern

git branch eo-* -l | xargs -n 1 git push -d ac
Comment

git delete remote branch

git push <remote> :<branch>
Comment

PREVIOUS NEXT
Code Example
Shell :: how to push in git 
Shell :: xampp aliases 
Shell :: how to delete github repo 
Shell :: bash script creation 
Shell :: symfony skeleton version 
Shell :: git passphrase remember 
Shell :: How to remove all local branches which are merged or not on remote branches 
Shell :: uninstall anaconda in ubuntu 
Shell :: regex in batch file 
Shell :: sed commands 
Shell :: copying a file from a server to a local folder 
Shell :: stress-ng install on redhat 
Shell :: maven homebrew 
Shell :: sed substitute a word in a file by the content in another file 
Shell :: api to access gitlab varaible 
Shell :: ansible playbook to set passwordless sudo 
Shell :: windows batch script to run application in background 
Shell :: github claims I have a large file that 
Shell :: docker get in python container 
Shell :: gatsby-plugin-typography 
Shell :: vue import yaml 
Shell :: regex last word in lin 
Shell :: git force overwrite of local files 
Shell :: change git committed message 
Shell :: Enable-Migrations 
Shell :: copy paste file terminal 
Shell :: rebase my fork branch 
Shell :: helm upgrade repos 
Shell :: change commit message after push 
Shell :: copy command 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =