File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 222
222
223
223
< p > When you're done with a remote branch, whether it's been merged
224
224
into the remote master or you want to abandon it and sweep it under
225
- the rug, you'll issue a < code > git push</ code > command with special
226
- colon to nuke that branch.</ p >
225
+ the rug, you'll issue a < code > git push</ code > command with a specially
226
+ placed colon symbol to remove that branch.</ p >
227
227
228
228
< pre >
229
229
< b > $ git push origin :tidy-cutlery</ b >
240
240
remote branch to become nothing.
241
241
</ p >
242
242
243
- < p > Alternatively, you can also run
243
+ < p > Alternatively, you can run
244
244
< code > git push remote-name --delete branchname</ code >
245
- which is basically a wrapper for the above colon prefix version .
245
+ which is a wrapper for the colon technique of deleting a remote branch .
246
246
</ p >
247
247
248
248
< p class ="nutshell ">
You can’t perform that action at this time.
0 commit comments