Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56301124
git-delete-remote-branch
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
311 B
Referenced Files
None
Subscribers
None
git-delete-remote-branch
View Options
#!/bin/sh
#
# Usage: git delete-remote-branch [remote] [branch]
# Default values: origin master
#
set
-e
if
[
"
$#
"
-gt
1
]
;
then
remote
=
$1
shift
else
remote
=
origin
fi
if
[
"
$#
"
-gt
0
]
;
then
branch
=
$1
shift
else
branch
=
master
fi
git
push
$remote
--delete
$branch
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, Nov 6, 19:29 (2 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4250397
Default Alt Text
git-delete-remote-branch (311 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment