{"action":"created","comment":{"url":"https://api.github.com/repos/Originate/git-town/pulls/comments/29149574","id":29149574,"diff_hunk":"@@ -0,0 +1,34 @@\n+Feature: git rename-branch: renaming a feature branch with a tracking branch (with open changes)\n+\n+  As a developer with a poorly named feature branch\n+  I want to be able to rename it safely in one easy step\n+  So that I can stay organized and remain productive\n+\n+\n+  Background:\n+    Given I have a feature branch named \"current-feature\"\n+    And the following commits exist in my repository\n+      | BRANCH          | LOCATION         | MESSAGE        |\n+      | main            | local and remote | main commit    |\n+      | current-feature | local and remote | feature commit |\n+    And I am on the \"current-feature\" branch\n+    And I have an uncommitted file\n+    When I run `git rename-branch current-feature renamed-feature`\n+\n+\n+  Scenario: result\n+    Then it runs the Git commands\n+      | BRANCH          | COMMAND                                         |\n+      | current-feature | git fetch --prune                               |\n+      |                 | git stash -u                                    |\n+      |                 | git checkout -b renamed-feature current-feature |","path":"features/git-rename-branch/feature_branch/with_remote_origin/with_tracking_branch/with_open_changes.feature","position":24,"original_position":24,"commit_id":"7ebb5a6ea227d3a3c9c423240cbab24e974c1601","original_commit_id":"7ebb5a6ea227d3a3c9c423240cbab24e974c1601","user":{"login":"kevgo","id":268934,"avatar_url":"https://avatars.githubusercontent.com/u/268934?v=3","gravatar_id":"","url":"https://api.github.com/users/kevgo","html_url":"https://github.com/kevgo","followers_url":"https://api.github.com/users/kevgo/followers","following_url":"https://api.github.com/users/kevgo/following{/other_user}","gists_url":"https://api.github.com/users/kevgo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevgo/subscriptions","organizations_url":"https://api.github.com/users/kevgo/orgs","repos_url":"https://api.github.com/users/kevgo/repos","events_url":"https://api.github.com/users/kevgo/events{/privacy}","received_events_url":"https://api.github.com/users/kevgo/received_events","type":"User","site_admin":false},"body":"You could also perform the local rename through `git branch -m <oldname> <newname>`.","created_at":"2015-04-27T14:17:16Z","updated_at":"2015-04-27T14:17:16Z","html_url":"https://github.com/Originate/git-town/pull/505#discussion_r29149574","pull_request_url":"https://api.github.com/repos/Originate/git-town/pulls/505","_links":{"self":{"href":"https://api.github.com/repos/Originate/git-town/pulls/comments/29149574"},"html":{"href":"https://github.com/Originate/git-town/pull/505#discussion_r29149574"},"pull_request":{"href":"https://api.github.com/repos/Originate/git-town/pulls/505"}}},"pull_request":{"url":"https://api.github.com/repos/Originate/git-town/pulls/505","id":34102428,"html_url":"https://github.com/Originate/git-town/pull/505","diff_url":"https://github.com/Originate/git-town/pull/505.diff","patch_url":"https://github.com/Originate/git-town/pull/505.patch","issue_url":"https://api.github.com/repos/Originate/git-town/issues/505","number":505,"state":"open","locked":false,"title":"Added basic git rename-branch","user":{"login":"ricmatsui","id":5288285,"avatar_url":"https://avatars.githubusercontent.com/u/5288285?v=3","gravatar_id":"","url":"https://api.github.com/users/ricmatsui","html_url":"https://github.com/ricmatsui","followers_url":"https://api.github.com/users/ricmatsui/followers","following_url":"https://api.github.com/users/ricmatsui/following{/other_user}","gists_url":"https://api.github.com/users/ricmatsui/gists{/gist_id}","starred_url":"https://api.github.com/users/ricmatsui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricmatsui/subscriptions","organizations_url":"https://api.github.com/users/ricmatsui/orgs","repos_url":"https://api.github.com/users/ricmatsui/repos","events_url":"https://api.github.com/users/ricmatsui/events{/privacy}","received_events_url":"https://api.github.com/users/ricmatsui/received_events","type":"User","site_admin":false},"body":"@kevgo @charlierudolph @allewun \r\nStill need to support undo correctly. Closes #474 \r\n\r\nIs there a way to generate the man pages? Or are they created manually?","created_at":"2015-04-25T07:36:35Z","updated_at":"2015-04-27T14:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f20da4ad3cd8e9f132a19c34faec1b57ab879cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Originate/git-town/pulls/505/commits","review_comments_url":"https://api.github.com/repos/Originate/git-town/pulls/505/comments","review_comment_url":"https://api.github.com/repos/Originate/git-town/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Originate/git-town/issues/505/comments","statuses_url":"https://api.github.com/repos/Originate/git-town/statuses/7ebb5a6ea227d3a3c9c423240cbab24e974c1601","head":{"label":"Originate:rm-git-rename-branch","ref":"rm-git-rename-branch","sha":"7ebb5a6ea227d3a3c9c423240cbab24e974c1601","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":19825320,"name":"git-town","full_name":"Originate/git-town","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/git-town","description":"Git extensions for robust, high-level development workflows","fork":false,"url":"https://api.github.com/repos/Originate/git-town","forks_url":"https://api.github.com/repos/Originate/git-town/forks","keys_url":"https://api.github.com/repos/Originate/git-town/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/git-town/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/git-town/teams","hooks_url":"https://api.github.com/repos/Originate/git-town/hooks","issue_events_url":"https://api.github.com/repos/Originate/git-town/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/git-town/events","assignees_url":"https://api.github.com/repos/Originate/git-town/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/git-town/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/git-town/tags","blobs_url":"https://api.github.com/repos/Originate/git-town/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/git-town/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/git-town/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/git-town/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/git-town/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/git-town/languages","stargazers_url":"https://api.github.com/repos/Originate/git-town/stargazers","contributors_url":"https://api.github.com/repos/Originate/git-town/contributors","subscribers_url":"https://api.github.com/repos/Originate/git-town/subscribers","subscription_url":"https://api.github.com/repos/Originate/git-town/subscription","commits_url":"https://api.github.com/repos/Originate/git-town/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/git-town/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/git-town/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/git-town/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/git-town/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/git-town/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/git-town/merges","archive_url":"https://api.github.com/repos/Originate/git-town/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/git-town/downloads","issues_url":"https://api.github.com/repos/Originate/git-town/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/git-town/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/git-town/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/git-town/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/git-town/labels{/name}","releases_url":"https://api.github.com/repos/Originate/git-town/releases{/id}","created_at":"2014-05-15T15:44:29Z","updated_at":"2015-04-25T00:35:00Z","pushed_at":"2015-04-25T07:36:36Z","git_url":"git://github.com/Originate/git-town.git","ssh_url":"git@github.com:Originate/git-town.git","clone_url":"https://github.com/Originate/git-town.git","svn_url":"https://github.com/Originate/git-town","homepage":"","size":16663,"stargazers_count":47,"watchers_count":47,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":56,"forks":3,"open_issues":56,"watchers":47,"default_branch":"master"}},"base":{"label":"Originate:master","ref":"master","sha":"89f5c995f951c254f5e47680c1a72484974ea1c0","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":19825320,"name":"git-town","full_name":"Originate/git-town","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/git-town","description":"Git extensions for robust, high-level development workflows","fork":false,"url":"https://api.github.com/repos/Originate/git-town","forks_url":"https://api.github.com/repos/Originate/git-town/forks","keys_url":"https://api.github.com/repos/Originate/git-town/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/git-town/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/git-town/teams","hooks_url":"https://api.github.com/repos/Originate/git-town/hooks","issue_events_url":"https://api.github.com/repos/Originate/git-town/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/git-town/events","assignees_url":"https://api.github.com/repos/Originate/git-town/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/git-town/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/git-town/tags","blobs_url":"https://api.github.com/repos/Originate/git-town/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/git-town/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/git-town/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/git-town/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/git-town/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/git-town/languages","stargazers_url":"https://api.github.com/repos/Originate/git-town/stargazers","contributors_url":"https://api.github.com/repos/Originate/git-town/contributors","subscribers_url":"https://api.github.com/repos/Originate/git-town/subscribers","subscription_url":"https://api.github.com/repos/Originate/git-town/subscription","commits_url":"https://api.github.com/repos/Originate/git-town/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/git-town/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/git-town/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/git-town/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/git-town/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/git-town/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/git-town/merges","archive_url":"https://api.github.com/repos/Originate/git-town/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/git-town/downloads","issues_url":"https://api.github.com/repos/Originate/git-town/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/git-town/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/git-town/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/git-town/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/git-town/labels{/name}","releases_url":"https://api.github.com/repos/Originate/git-town/releases{/id}","created_at":"2014-05-15T15:44:29Z","updated_at":"2015-04-25T00:35:00Z","pushed_at":"2015-04-25T07:36:36Z","git_url":"git://github.com/Originate/git-town.git","ssh_url":"git@github.com:Originate/git-town.git","clone_url":"https://github.com/Originate/git-town.git","svn_url":"https://github.com/Originate/git-town","homepage":"","size":16663,"stargazers_count":47,"watchers_count":47,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":56,"forks":3,"open_issues":56,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/git-town/pulls/505"},"html":{"href":"https://github.com/Originate/git-town/pull/505"},"issue":{"href":"https://api.github.com/repos/Originate/git-town/issues/505"},"comments":{"href":"https://api.github.com/repos/Originate/git-town/issues/505/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/git-town/pulls/505/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/git-town/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Originate/git-town/pulls/505/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/git-town/statuses/7ebb5a6ea227d3a3c9c423240cbab24e974c1601"}}}}