{"action":"created","comment":{"url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments/61453624","id":61453624,"diff_hunk":"@@ -0,0 +1,145 @@\n+# Working with remote repository\n+\n+## Introduction\n+\n+Once we have our remote repository configured we would be able to work with it.\n+\n+The list of commands below allows to work with remote repository.\n+\n+### Upstream","path":"14-RemoteRepository/README.md","position":9,"original_position":9,"commit_id":"a9825701267a9fdda78281ceb5c5594aaa8d29f4","original_commit_id":"a9825701267a9fdda78281ceb5c5594aaa8d29f4","user":{"login":"pzavoral","id":17909040,"avatar_url":"https://avatars.githubusercontent.com/u/17909040?v=3","gravatar_id":"","url":"https://api.github.com/users/pzavoral","html_url":"https://github.com/pzavoral","followers_url":"https://api.github.com/users/pzavoral/followers","following_url":"https://api.github.com/users/pzavoral/following{/other_user}","gists_url":"https://api.github.com/users/pzavoral/gists{/gist_id}","starred_url":"https://api.github.com/users/pzavoral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzavoral/subscriptions","organizations_url":"https://api.github.com/users/pzavoral/orgs","repos_url":"https://api.github.com/users/pzavoral/repos","events_url":"https://api.github.com/users/pzavoral/events{/privacy}","received_events_url":"https://api.github.com/users/pzavoral/received_events","type":"User","site_admin":false},"body":"This section is too abstract because you have not explained how push/fetch works. You should:\r\n- change the explanation of git push not to use set upstream (-u)\r\n- explain what upstream is (i.e. move this section after git push w/o upstream)\r\n- give an example how upstream can make the command easier\r\nI think this deserves a bit more detailed description. The user should know that local and remote branches are independent and upstream is just a way how to make things easier (i.e it is not required to have the same branch names/hierarchy)","created_at":"2016-04-28T15:56:43Z","updated_at":"2016-04-28T15:56:43Z","html_url":"https://github.com/DevTrainings/GitTraining/pull/31#discussion_r61453624","pull_request_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments/61453624"},"html":{"href":"https://github.com/DevTrainings/GitTraining/pull/31#discussion_r61453624"},"pull_request":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31","id":67721890,"html_url":"https://github.com/DevTrainings/GitTraining/pull/31","diff_url":"https://github.com/DevTrainings/GitTraining/pull/31.diff","patch_url":"https://github.com/DevTrainings/GitTraining/pull/31.patch","issue_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/31","number":31,"state":"open","locked":false,"title":"Remote repository intro","user":{"login":"voloda","id":8048200,"avatar_url":"https://avatars.githubusercontent.com/u/8048200?v=3","gravatar_id":"","url":"https://api.github.com/users/voloda","html_url":"https://github.com/voloda","followers_url":"https://api.github.com/users/voloda/followers","following_url":"https://api.github.com/users/voloda/following{/other_user}","gists_url":"https://api.github.com/users/voloda/gists{/gist_id}","starred_url":"https://api.github.com/users/voloda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voloda/subscriptions","organizations_url":"https://api.github.com/users/voloda/orgs","repos_url":"https://api.github.com/users/voloda/repos","events_url":"https://api.github.com/users/voloda/events{/privacy}","received_events_url":"https://api.github.com/users/voloda/received_events","type":"User","site_admin":false},"body":"Fixes #7 ","created_at":"2016-04-25T13:44:53Z","updated_at":"2016-04-28T15:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8cc87e9758989e1d153b61e859c8829b9436263","assignee":{"login":"graywolf","id":790463,"avatar_url":"https://avatars.githubusercontent.com/u/790463?v=3","gravatar_id":"","url":"https://api.github.com/users/graywolf","html_url":"https://github.com/graywolf","followers_url":"https://api.github.com/users/graywolf/followers","following_url":"https://api.github.com/users/graywolf/following{/other_user}","gists_url":"https://api.github.com/users/graywolf/gists{/gist_id}","starred_url":"https://api.github.com/users/graywolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graywolf/subscriptions","organizations_url":"https://api.github.com/users/graywolf/orgs","repos_url":"https://api.github.com/users/graywolf/repos","events_url":"https://api.github.com/users/graywolf/events{/privacy}","received_events_url":"https://api.github.com/users/graywolf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DevTrainings/GitTraining/milestones/2","html_url":"https://github.com/DevTrainings/GitTraining/milestones/Day%202%20ready","labels_url":"https://api.github.com/repos/DevTrainings/GitTraining/milestones/2/labels","id":1652253,"number":2,"title":"Day 2 ready","description":"","creator":{"login":"voloda","id":8048200,"avatar_url":"https://avatars.githubusercontent.com/u/8048200?v=3","gravatar_id":"","url":"https://api.github.com/users/voloda","html_url":"https://github.com/voloda","followers_url":"https://api.github.com/users/voloda/followers","following_url":"https://api.github.com/users/voloda/following{/other_user}","gists_url":"https://api.github.com/users/voloda/gists{/gist_id}","starred_url":"https://api.github.com/users/voloda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voloda/subscriptions","organizations_url":"https://api.github.com/users/voloda/orgs","repos_url":"https://api.github.com/users/voloda/repos","events_url":"https://api.github.com/users/voloda/events{/privacy}","received_events_url":"https://api.github.com/users/voloda/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":4,"state":"open","created_at":"2016-03-17T20:58:49Z","updated_at":"2016-04-25T13:46:45Z","due_on":"2016-04-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31/commits","review_comments_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31/comments","review_comment_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/31/comments","statuses_url":"https://api.github.com/repos/DevTrainings/GitTraining/statuses/a9825701267a9fdda78281ceb5c5594aaa8d29f4","head":{"label":"DevTrainings:Remote","ref":"Remote","sha":"a9825701267a9fdda78281ceb5c5594aaa8d29f4","user":{"login":"DevTrainings","id":18348085,"avatar_url":"https://avatars.githubusercontent.com/u/18348085?v=3","gravatar_id":"","url":"https://api.github.com/users/DevTrainings","html_url":"https://github.com/DevTrainings","followers_url":"https://api.github.com/users/DevTrainings/followers","following_url":"https://api.github.com/users/DevTrainings/following{/other_user}","gists_url":"https://api.github.com/users/DevTrainings/gists{/gist_id}","starred_url":"https://api.github.com/users/DevTrainings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevTrainings/subscriptions","organizations_url":"https://api.github.com/users/DevTrainings/orgs","repos_url":"https://api.github.com/users/DevTrainings/repos","events_url":"https://api.github.com/users/DevTrainings/events{/privacy}","received_events_url":"https://api.github.com/users/DevTrainings/received_events","type":"Organization","site_admin":false},"repo":{"id":54104538,"name":"GitTraining","full_name":"DevTrainings/GitTraining","owner":{"login":"DevTrainings","id":18348085,"avatar_url":"https://avatars.githubusercontent.com/u/18348085?v=3","gravatar_id":"","url":"https://api.github.com/users/DevTrainings","html_url":"https://github.com/DevTrainings","followers_url":"https://api.github.com/users/DevTrainings/followers","following_url":"https://api.github.com/users/DevTrainings/following{/other_user}","gists_url":"https://api.github.com/users/DevTrainings/gists{/gist_id}","starred_url":"https://api.github.com/users/DevTrainings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevTrainings/subscriptions","organizations_url":"https://api.github.com/users/DevTrainings/orgs","repos_url":"https://api.github.com/users/DevTrainings/repos","events_url":"https://api.github.com/users/DevTrainings/events{/privacy}","received_events_url":"https://api.github.com/users/DevTrainings/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DevTrainings/GitTraining","description":"GIT introduction training and labs","fork":false,"url":"https://api.github.com/repos/DevTrainings/GitTraining","forks_url":"https://api.github.com/repos/DevTrainings/GitTraining/forks","keys_url":"https://api.github.com/repos/DevTrainings/GitTraining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevTrainings/GitTraining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevTrainings/GitTraining/teams","hooks_url":"https://api.github.com/repos/DevTrainings/GitTraining/hooks","issue_events_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/events{/number}","events_url":"https://api.github.com/repos/DevTrainings/GitTraining/events","assignees_url":"https://api.github.com/repos/DevTrainings/GitTraining/assignees{/user}","branches_url":"https://api.github.com/repos/DevTrainings/GitTraining/branches{/branch}","tags_url":"https://api.github.com/repos/DevTrainings/GitTraining/tags","blobs_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevTrainings/GitTraining/statuses/{sha}","languages_url":"https://api.github.com/repos/DevTrainings/GitTraining/languages","stargazers_url":"https://api.github.com/repos/DevTrainings/GitTraining/stargazers","contributors_url":"https://api.github.com/repos/DevTrainings/GitTraining/contributors","subscribers_url":"https://api.github.com/repos/DevTrainings/GitTraining/subscribers","subscription_url":"https://api.github.com/repos/DevTrainings/GitTraining/subscription","commits_url":"https://api.github.com/repos/DevTrainings/GitTraining/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevTrainings/GitTraining/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevTrainings/GitTraining/contents/{+path}","compare_url":"https://api.github.com/repos/DevTrainings/GitTraining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevTrainings/GitTraining/merges","archive_url":"https://api.github.com/repos/DevTrainings/GitTraining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevTrainings/GitTraining/downloads","issues_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues{/number}","pulls_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls{/number}","milestones_url":"https://api.github.com/repos/DevTrainings/GitTraining/milestones{/number}","notifications_url":"https://api.github.com/repos/DevTrainings/GitTraining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevTrainings/GitTraining/labels{/name}","releases_url":"https://api.github.com/repos/DevTrainings/GitTraining/releases{/id}","deployments_url":"https://api.github.com/repos/DevTrainings/GitTraining/deployments","created_at":"2016-03-17T09:16:49Z","updated_at":"2016-04-25T13:51:39Z","pushed_at":"2016-04-27T13:54:04Z","git_url":"git://github.com/DevTrainings/GitTraining.git","ssh_url":"git@github.com:DevTrainings/GitTraining.git","clone_url":"https://github.com/DevTrainings/GitTraining.git","svn_url":"https://github.com/DevTrainings/GitTraining","homepage":"","size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"DevTrainings:master","ref":"master","sha":"c46a545cda1dec18486a650c6009eb6171626685","user":{"login":"DevTrainings","id":18348085,"avatar_url":"https://avatars.githubusercontent.com/u/18348085?v=3","gravatar_id":"","url":"https://api.github.com/users/DevTrainings","html_url":"https://github.com/DevTrainings","followers_url":"https://api.github.com/users/DevTrainings/followers","following_url":"https://api.github.com/users/DevTrainings/following{/other_user}","gists_url":"https://api.github.com/users/DevTrainings/gists{/gist_id}","starred_url":"https://api.github.com/users/DevTrainings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevTrainings/subscriptions","organizations_url":"https://api.github.com/users/DevTrainings/orgs","repos_url":"https://api.github.com/users/DevTrainings/repos","events_url":"https://api.github.com/users/DevTrainings/events{/privacy}","received_events_url":"https://api.github.com/users/DevTrainings/received_events","type":"Organization","site_admin":false},"repo":{"id":54104538,"name":"GitTraining","full_name":"DevTrainings/GitTraining","owner":{"login":"DevTrainings","id":18348085,"avatar_url":"https://avatars.githubusercontent.com/u/18348085?v=3","gravatar_id":"","url":"https://api.github.com/users/DevTrainings","html_url":"https://github.com/DevTrainings","followers_url":"https://api.github.com/users/DevTrainings/followers","following_url":"https://api.github.com/users/DevTrainings/following{/other_user}","gists_url":"https://api.github.com/users/DevTrainings/gists{/gist_id}","starred_url":"https://api.github.com/users/DevTrainings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevTrainings/subscriptions","organizations_url":"https://api.github.com/users/DevTrainings/orgs","repos_url":"https://api.github.com/users/DevTrainings/repos","events_url":"https://api.github.com/users/DevTrainings/events{/privacy}","received_events_url":"https://api.github.com/users/DevTrainings/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DevTrainings/GitTraining","description":"GIT introduction training and labs","fork":false,"url":"https://api.github.com/repos/DevTrainings/GitTraining","forks_url":"https://api.github.com/repos/DevTrainings/GitTraining/forks","keys_url":"https://api.github.com/repos/DevTrainings/GitTraining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DevTrainings/GitTraining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DevTrainings/GitTraining/teams","hooks_url":"https://api.github.com/repos/DevTrainings/GitTraining/hooks","issue_events_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/events{/number}","events_url":"https://api.github.com/repos/DevTrainings/GitTraining/events","assignees_url":"https://api.github.com/repos/DevTrainings/GitTraining/assignees{/user}","branches_url":"https://api.github.com/repos/DevTrainings/GitTraining/branches{/branch}","tags_url":"https://api.github.com/repos/DevTrainings/GitTraining/tags","blobs_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/refs{/sha}","trees_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DevTrainings/GitTraining/statuses/{sha}","languages_url":"https://api.github.com/repos/DevTrainings/GitTraining/languages","stargazers_url":"https://api.github.com/repos/DevTrainings/GitTraining/stargazers","contributors_url":"https://api.github.com/repos/DevTrainings/GitTraining/contributors","subscribers_url":"https://api.github.com/repos/DevTrainings/GitTraining/subscribers","subscription_url":"https://api.github.com/repos/DevTrainings/GitTraining/subscription","commits_url":"https://api.github.com/repos/DevTrainings/GitTraining/commits{/sha}","git_commits_url":"https://api.github.com/repos/DevTrainings/GitTraining/git/commits{/sha}","comments_url":"https://api.github.com/repos/DevTrainings/GitTraining/comments{/number}","issue_comment_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/comments{/number}","contents_url":"https://api.github.com/repos/DevTrainings/GitTraining/contents/{+path}","compare_url":"https://api.github.com/repos/DevTrainings/GitTraining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DevTrainings/GitTraining/merges","archive_url":"https://api.github.com/repos/DevTrainings/GitTraining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DevTrainings/GitTraining/downloads","issues_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues{/number}","pulls_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls{/number}","milestones_url":"https://api.github.com/repos/DevTrainings/GitTraining/milestones{/number}","notifications_url":"https://api.github.com/repos/DevTrainings/GitTraining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DevTrainings/GitTraining/labels{/name}","releases_url":"https://api.github.com/repos/DevTrainings/GitTraining/releases{/id}","deployments_url":"https://api.github.com/repos/DevTrainings/GitTraining/deployments","created_at":"2016-03-17T09:16:49Z","updated_at":"2016-04-25T13:51:39Z","pushed_at":"2016-04-27T13:54:04Z","git_url":"git://github.com/DevTrainings/GitTraining.git","ssh_url":"git@github.com:DevTrainings/GitTraining.git","clone_url":"https://github.com/DevTrainings/GitTraining.git","svn_url":"https://github.com/DevTrainings/GitTraining","homepage":"","size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31"},"html":{"href":"https://github.com/DevTrainings/GitTraining/pull/31"},"issue":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/issues/31"},"comments":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/statuses/a9825701267a9fdda78281ceb5c5594aaa8d29f4"}}}}