Hi John,
I have run this and deleted the stray branch. Thank you for your assistance. Cheers! Frank > On Dec 30, 2016, at 2:19 PM, John Patrick <nhoj.patr...@gmail.com> wrote: > > I think the command your after is. > > $ git push origin :seqan_update ; > > read it as > git push origin NULL:seqan_update > > This works for tags as well as branches, assuming the name is unique. > > It won't delete the local branch. > > For everyone else if they do the following, it will clean up remote > references that are no longer on the origin. > > $ git remote prune origin ; > > John > > On 30 December 2016 at 19:42, <m...@macports.org> wrote: >> Hi All, >> >> >> I accidentally pushed my local branch for these changes before merging it. >> So apparently there is now a branch called seqan_update that is on master. >> How do I delete it? >> >> Anyone can also please just delete it for me if you know how. The changes >> have been applied to master successfully. >> >> Here is what I tried: >> >> $ git push --delete origin/seqan_update >> fatal: --delete doesn't make sense without any refs >> >> Sorry for this mess. I am a git novice and still learning how to use it >> properly. >> >> >> Thank you! >> Frank >> >> On Dec 30, 2016, at 12:28 PM, Frank Schima <m...@macports.org> wrote: >> >> Frank Schima (mf2k) pushed a commit to branch master >> in repository macports-ports. >> >> https://github.com/macports/macports-ports/commit/8aa9a0b2985896279689c2afccff648c8af46f0a >> >> commit 8aa9a0b2985896279689c2afccff648c8af46f0a >> Merge: d634704 6371316 >> Author: Frank Schima <m...@macports.org> >> AuthorDate: Fri Dec 30 12:28:56 2016 -0700 >> >> Merge branch 'seqan_update' >> >> seqan: Update to version 2.2.0 >> seqan-apps: Update to version 2.2.0 >> >> Closes: https://trac.macports.org/ticket/53066 >> Closes: https://trac.macports.org/ticket/53070 >> >> science/seqan-apps/Portfile | 6 +++--- >> science/seqan/Portfile | 7 +++---- >> 2 files changed, 6 insertions(+), 7 deletions(-) >> >>