{"id":575,"date":"2010-07-27T18:13:01","date_gmt":"2010-07-28T01:13:01","guid":{"rendered":"http:\/\/sp2hari.com\/?p=575"},"modified":"2020-06-20T08:28:06","modified_gmt":"2020-06-20T08:28:06","slug":"delete-remote-branch-in-git","status":"publish","type":"post","link":"https:\/\/sp2hari.com\/index.php\/2010\/07\/27\/delete-remote-branch-in-git\/","title":{"rendered":"Delete a remote branch in git"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sp2hari.com\/wp-content\/uploads\/2011\/01\/git.jpg\" alt=\"\" title=\"git\" width=\"100\" height=\"100\" class=\"alignright size-full wp-image-718\">We use Git here at interviewstreet. Using Git, branching, testing and reverting is so easy.<\/p>\n<p>Almost all commands are simple and easy to remember in Git, except for deleting a remote branch.<\/p>\n<p>The command to delete a remote branch &#8220;feature1&#8221; is<\/p>\n<p><code>git push origin :feature1<\/code><\/p>\n<p>Just wanted to note this down.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We use Git here at interviewstreet. Using Git, branching, testing and reverting is so easy. Almost all commands are simple and easy to remember in Git, except for deleting a remote branch. The command to delete a remote branch &#8220;feature1&#8221; is git push origin :feature1 Just wanted to note this &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-575","post","type-post","status-publish","format-standard","hentry","category-code"],"_links":{"self":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/comments?post=575"}],"version-history":[{"count":10,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/575\/revisions"}],"predecessor-version":[{"id":1351,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/575\/revisions\/1351"}],"wp:attachment":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/media?parent=575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/categories?post=575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/tags?post=575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}