{"absolute_url": "/jbmckee/delete-branch-local-and-remote/", "blog_post": false, "code": "git branch -D branch_name\ngit push ascend -d branch_name\n", "created": "2023-05-22T19:44:02.810208", "description": "", "description_rendered": "", "embed_url": "https://snipt.net/embed/d03543e5094e8e9327d0e09d790ce137/", "full_absolute_url": "/jbmckee/delete-branch-local-and-remote/", "id": 121, "lexer": "text", "line_count": 3, "log_entries": [{"code": "git branch -D branch_name\ngit push ascend -d branch_name\n", "created": "2023-05-22T19:44:02.852088", "diff": "--- \n+++ \n@@ -0,0 +1,2 @@\n+git branch -D branch_name\n+git push ascend -d branch_name\n", "user": "jbmckee"}], "meta": "", "modified": "2026-04-27T09:29:56.285628", "publish_date": "2023-05-22T19:44:02.785846", "raw_url": "/raw/d03543e5094e8e9327d0e09d790ce137/", "resource_uri": "/api/public/snipt/121/", "slug": "delete-branch-local-and-remote", "stylized": "<table class=\"highlighttable\"><tr><td class=\"linenos\"><div class=\"linenodiv\"><pre><a href=\"#L-1\">1</a>\n<a href=\"#L-2\">2</a></pre></div></td><td class=\"code\"><div class=\"highlight\"><pre><span></span><span id=\"L-1\"><a name=\"L-1\"></a>git branch -D branch_name\n</span><span id=\"L-2\"><a name=\"L-2\"></a>git push ascend -d branch_name\n</span></pre></div>\n</td></tr></table>", "tags": [{"absolute_url": "/public/tag/git/", "id": 17, "name": "git", "resource_uri": "/api/public/tag/17/", "snipts": "/api/public/snipt/?tag=17"}], "title": "Delete branch local and remote", "user": {"absolute_url": "/jbmckee/", "email_md5": "f4da96308b6db1b0b19738a7c105d3da", "id": 1, "resource_uri": "/api/public/user/1/", "snipts": "/api/public/snipt/?user=1", "snipts_count": 72, "username": "jbmckee"}}