{"action":"created","comment":{"url":"https://api.github.com/repos/kittens/lerna/pulls/comments/60482452","id":60482452,"diff_hunk":"@@ -40,7 +40,7 @@ export default class GitUtilities {\n \n   @logger.logifySync\n   static pushWithTags(tags) {\n-    ChildProcessUtilities.execSync(\"git push\");\n+    ChildProcessUtilities.execSync(\"git push origin \" + GitUtilities.getCurrentBranch());","path":"src/GitUtilities.js","position":5,"original_position":5,"commit_id":"b72e73c568f752be8b57b73376a436f457758313","original_commit_id":"0083f33f50f69069245325e25c5b9d08445860b0","user":{"login":"thejameskyle","id":952783,"avatar_url":"https://avatars.githubusercontent.com/u/952783?v=3","gravatar_id":"","url":"https://api.github.com/users/thejameskyle","html_url":"https://github.com/thejameskyle","followers_url":"https://api.github.com/users/thejameskyle/followers","following_url":"https://api.github.com/users/thejameskyle/following{/other_user}","gists_url":"https://api.github.com/users/thejameskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/thejameskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejameskyle/subscriptions","organizations_url":"https://api.github.com/users/thejameskyle/orgs","repos_url":"https://api.github.com/users/thejameskyle/repos","events_url":"https://api.github.com/users/thejameskyle/events{/privacy}","received_events_url":"https://api.github.com/users/thejameskyle/received_events","type":"User","site_admin":false},"body":"Yeah, we could attempt to lookup what the tracked remote branch is:\r\n\r\n```\r\n$ repo git:(branch): git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)\r\n> origin/master\r\n```\r\n\r\nI don't know how reliable that would be though","created_at":"2016-04-20T20:35:27Z","updated_at":"2016-04-20T20:35:27Z","html_url":"https://github.com/kittens/lerna/pull/110#discussion_r60482452","pull_request_url":"https://api.github.com/repos/kittens/lerna/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/kittens/lerna/pulls/comments/60482452"},"html":{"href":"https://github.com/kittens/lerna/pull/110#discussion_r60482452"},"pull_request":{"href":"https://api.github.com/repos/kittens/lerna/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/kittens/lerna/pulls/110","id":67252430,"html_url":"https://github.com/kittens/lerna/pull/110","diff_url":"https://github.com/kittens/lerna/pull/110.diff","patch_url":"https://github.com/kittens/lerna/pull/110.patch","issue_url":"https://api.github.com/repos/kittens/lerna/issues/110","number":110,"state":"open","locked":false,"title":"Only push current branch on publish","user":{"login":"thejameskyle","id":952783,"avatar_url":"https://avatars.githubusercontent.com/u/952783?v=3","gravatar_id":"","url":"https://api.github.com/users/thejameskyle","html_url":"https://github.com/thejameskyle","followers_url":"https://api.github.com/users/thejameskyle/followers","following_url":"https://api.github.com/users/thejameskyle/following{/other_user}","gists_url":"https://api.github.com/users/thejameskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/thejameskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejameskyle/subscriptions","organizations_url":"https://api.github.com/users/thejameskyle/orgs","repos_url":"https://api.github.com/users/thejameskyle/repos","events_url":"https://api.github.com/users/thejameskyle/events{/privacy}","received_events_url":"https://api.github.com/users/thejameskyle/received_events","type":"User","site_admin":false},"body":"Fixes #88","created_at":"2016-04-20T20:25:41Z","updated_at":"2016-04-20T20:35:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6fa6894bfac0ffc228a3a5d663049663b5ea75d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kittens/lerna/pulls/110/commits","review_comments_url":"https://api.github.com/repos/kittens/lerna/pulls/110/comments","review_comment_url":"https://api.github.com/repos/kittens/lerna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kittens/lerna/issues/110/comments","statuses_url":"https://api.github.com/repos/kittens/lerna/statuses/b72e73c568f752be8b57b73376a436f457758313","head":{"label":"kittens:publish-specific-branch","ref":"publish-specific-branch","sha":"b72e73c568f752be8b57b73376a436f457758313","user":{"login":"kittens","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/kittens","html_url":"https://github.com/kittens","followers_url":"https://api.github.com/users/kittens/followers","following_url":"https://api.github.com/users/kittens/following{/other_user}","gists_url":"https://api.github.com/users/kittens/gists{/gist_id}","starred_url":"https://api.github.com/users/kittens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kittens/subscriptions","organizations_url":"https://api.github.com/users/kittens/orgs","repos_url":"https://api.github.com/users/kittens/repos","events_url":"https://api.github.com/users/kittens/events{/privacy}","received_events_url":"https://api.github.com/users/kittens/received_events","type":"User","site_admin":false},"repo":{"id":47394776,"name":"lerna","full_name":"kittens/lerna","owner":{"login":"kittens","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/kittens","html_url":"https://github.com/kittens","followers_url":"https://api.github.com/users/kittens/followers","following_url":"https://api.github.com/users/kittens/following{/other_user}","gists_url":"https://api.github.com/users/kittens/gists{/gist_id}","starred_url":"https://api.github.com/users/kittens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kittens/subscriptions","organizations_url":"https://api.github.com/users/kittens/orgs","repos_url":"https://api.github.com/users/kittens/repos","events_url":"https://api.github.com/users/kittens/events{/privacy}","received_events_url":"https://api.github.com/users/kittens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kittens/lerna","description":":dragon: A tool for managing JavaScript projects with multiple packages.","fork":false,"url":"https://api.github.com/repos/kittens/lerna","forks_url":"https://api.github.com/repos/kittens/lerna/forks","keys_url":"https://api.github.com/repos/kittens/lerna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kittens/lerna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kittens/lerna/teams","hooks_url":"https://api.github.com/repos/kittens/lerna/hooks","issue_events_url":"https://api.github.com/repos/kittens/lerna/issues/events{/number}","events_url":"https://api.github.com/repos/kittens/lerna/events","assignees_url":"https://api.github.com/repos/kittens/lerna/assignees{/user}","branches_url":"https://api.github.com/repos/kittens/lerna/branches{/branch}","tags_url":"https://api.github.com/repos/kittens/lerna/tags","blobs_url":"https://api.github.com/repos/kittens/lerna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kittens/lerna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kittens/lerna/git/refs{/sha}","trees_url":"https://api.github.com/repos/kittens/lerna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kittens/lerna/statuses/{sha}","languages_url":"https://api.github.com/repos/kittens/lerna/languages","stargazers_url":"https://api.github.com/repos/kittens/lerna/stargazers","contributors_url":"https://api.github.com/repos/kittens/lerna/contributors","subscribers_url":"https://api.github.com/repos/kittens/lerna/subscribers","subscription_url":"https://api.github.com/repos/kittens/lerna/subscription","commits_url":"https://api.github.com/repos/kittens/lerna/commits{/sha}","git_commits_url":"https://api.github.com/repos/kittens/lerna/git/commits{/sha}","comments_url":"https://api.github.com/repos/kittens/lerna/comments{/number}","issue_comment_url":"https://api.github.com/repos/kittens/lerna/issues/comments{/number}","contents_url":"https://api.github.com/repos/kittens/lerna/contents/{+path}","compare_url":"https://api.github.com/repos/kittens/lerna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kittens/lerna/merges","archive_url":"https://api.github.com/repos/kittens/lerna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kittens/lerna/downloads","issues_url":"https://api.github.com/repos/kittens/lerna/issues{/number}","pulls_url":"https://api.github.com/repos/kittens/lerna/pulls{/number}","milestones_url":"https://api.github.com/repos/kittens/lerna/milestones{/number}","notifications_url":"https://api.github.com/repos/kittens/lerna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kittens/lerna/labels{/name}","releases_url":"https://api.github.com/repos/kittens/lerna/releases{/id}","deployments_url":"https://api.github.com/repos/kittens/lerna/deployments","created_at":"2015-12-04T09:36:55Z","updated_at":"2016-04-20T20:12:45Z","pushed_at":"2016-04-20T20:34:08Z","git_url":"git://github.com/kittens/lerna.git","ssh_url":"git@github.com:kittens/lerna.git","clone_url":"https://github.com/kittens/lerna.git","svn_url":"https://github.com/kittens/lerna","homepage":"","size":205,"stargazers_count":486,"watchers_count":486,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":29,"forks":37,"open_issues":29,"watchers":486,"default_branch":"master"}},"base":{"label":"kittens:master","ref":"master","sha":"a86ba42727774167c503689d5abab97a640edf29","user":{"login":"kittens","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/kittens","html_url":"https://github.com/kittens","followers_url":"https://api.github.com/users/kittens/followers","following_url":"https://api.github.com/users/kittens/following{/other_user}","gists_url":"https://api.github.com/users/kittens/gists{/gist_id}","starred_url":"https://api.github.com/users/kittens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kittens/subscriptions","organizations_url":"https://api.github.com/users/kittens/orgs","repos_url":"https://api.github.com/users/kittens/repos","events_url":"https://api.github.com/users/kittens/events{/privacy}","received_events_url":"https://api.github.com/users/kittens/received_events","type":"User","site_admin":false},"repo":{"id":47394776,"name":"lerna","full_name":"kittens/lerna","owner":{"login":"kittens","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/kittens","html_url":"https://github.com/kittens","followers_url":"https://api.github.com/users/kittens/followers","following_url":"https://api.github.com/users/kittens/following{/other_user}","gists_url":"https://api.github.com/users/kittens/gists{/gist_id}","starred_url":"https://api.github.com/users/kittens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kittens/subscriptions","organizations_url":"https://api.github.com/users/kittens/orgs","repos_url":"https://api.github.com/users/kittens/repos","events_url":"https://api.github.com/users/kittens/events{/privacy}","received_events_url":"https://api.github.com/users/kittens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kittens/lerna","description":":dragon: A tool for managing JavaScript projects with multiple packages.","fork":false,"url":"https://api.github.com/repos/kittens/lerna","forks_url":"https://api.github.com/repos/kittens/lerna/forks","keys_url":"https://api.github.com/repos/kittens/lerna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kittens/lerna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kittens/lerna/teams","hooks_url":"https://api.github.com/repos/kittens/lerna/hooks","issue_events_url":"https://api.github.com/repos/kittens/lerna/issues/events{/number}","events_url":"https://api.github.com/repos/kittens/lerna/events","assignees_url":"https://api.github.com/repos/kittens/lerna/assignees{/user}","branches_url":"https://api.github.com/repos/kittens/lerna/branches{/branch}","tags_url":"https://api.github.com/repos/kittens/lerna/tags","blobs_url":"https://api.github.com/repos/kittens/lerna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kittens/lerna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kittens/lerna/git/refs{/sha}","trees_url":"https://api.github.com/repos/kittens/lerna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kittens/lerna/statuses/{sha}","languages_url":"https://api.github.com/repos/kittens/lerna/languages","stargazers_url":"https://api.github.com/repos/kittens/lerna/stargazers","contributors_url":"https://api.github.com/repos/kittens/lerna/contributors","subscribers_url":"https://api.github.com/repos/kittens/lerna/subscribers","subscription_url":"https://api.github.com/repos/kittens/lerna/subscription","commits_url":"https://api.github.com/repos/kittens/lerna/commits{/sha}","git_commits_url":"https://api.github.com/repos/kittens/lerna/git/commits{/sha}","comments_url":"https://api.github.com/repos/kittens/lerna/comments{/number}","issue_comment_url":"https://api.github.com/repos/kittens/lerna/issues/comments{/number}","contents_url":"https://api.github.com/repos/kittens/lerna/contents/{+path}","compare_url":"https://api.github.com/repos/kittens/lerna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kittens/lerna/merges","archive_url":"https://api.github.com/repos/kittens/lerna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kittens/lerna/downloads","issues_url":"https://api.github.com/repos/kittens/lerna/issues{/number}","pulls_url":"https://api.github.com/repos/kittens/lerna/pulls{/number}","milestones_url":"https://api.github.com/repos/kittens/lerna/milestones{/number}","notifications_url":"https://api.github.com/repos/kittens/lerna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kittens/lerna/labels{/name}","releases_url":"https://api.github.com/repos/kittens/lerna/releases{/id}","deployments_url":"https://api.github.com/repos/kittens/lerna/deployments","created_at":"2015-12-04T09:36:55Z","updated_at":"2016-04-20T20:12:45Z","pushed_at":"2016-04-20T20:34:08Z","git_url":"git://github.com/kittens/lerna.git","ssh_url":"git@github.com:kittens/lerna.git","clone_url":"https://github.com/kittens/lerna.git","svn_url":"https://github.com/kittens/lerna","homepage":"","size":205,"stargazers_count":486,"watchers_count":486,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":29,"forks":37,"open_issues":29,"watchers":486,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kittens/lerna/pulls/110"},"html":{"href":"https://github.com/kittens/lerna/pull/110"},"issue":{"href":"https://api.github.com/repos/kittens/lerna/issues/110"},"comments":{"href":"https://api.github.com/repos/kittens/lerna/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/kittens/lerna/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/kittens/lerna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kittens/lerna/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/kittens/lerna/statuses/b72e73c568f752be8b57b73376a436f457758313"}}}}