banner 728x90

How to remove a git Remote Branch

In Mobile Web Development 15 views
banner 728x90

Keeping a neat repository is important; not just a tidy codebase, but a neat repository as far as it did not rot over reserve branches. In general, the main repository does not retain multiple sites, but sometimes you have to push to a main repository to allow Travis CI to perform tests. Once a branch has been merged, for example, we no longer need it.

Deleting a branch on a repoto from a local host machine is simple:

git branch -d 

To remove a branch from the remote git repository, such as a repository hosted by GitHub, you can do the following:

git push  --delete 

If you've learned something here, check out Delete Fusion Branches with git!

  •  Add events to events in MooTools

    Add events to events to MooTools

    Note: This post has been updated.

    One of my huge webmaps is when an element has click events associated with it, but the element does not contain the "pointer" cursor. I mean, how on earth can the user know that they can / must click on …

  •  Translate content with the Google Translate API and JavaScript

    Translate content with the Google Translate API and JavaScript

    Note: for this tutorial I use version 1 of the Google Translate API. A newer REST version is available.

    In an ideal world, all websites would have a function that would enable the user to translate a website into their mother tongue (or even more ideally, translation would …

< ! –


banner 728x90
    Script & Style Show: Episode 4: Tooling
    Script & Style Show: Episode 4: Tooling
    In the episode of this week: David
    Comment Video Player
    Comment Video Player
    Streaming entertainment is a massive interest of

    Leave a reply "How to remove a git Remote Branch"

    Must read×