{"action":"created","comment":{"url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments/61791079","id":61791079,"diff_hunk":"@@ -0,0 +1,67 @@\n+git-reset\n+=========\n+\n+> Reset current HEAD to the specified state\n+\n+Git reset has three forms. &lt;tree-ish&gt; defaults to HEAD in all of them.\n+\n+git reset [-q] [<tree-ish>] [--] <paths>...\n+-------------------------------------------\n+\n+> Can be thought of as opposite for `git-add`.\n+\n+Resets index entries for all &lt;paths&gt; to their state at &lt;tree-ish&gt;. Important part here is that this form of `git-reset` doesn't affect the working tree or current branch in any form.","path":"11-Reset/readme.md","position":13,"original_position":13,"commit_id":"0b13989966d987ceec65b789a4ffecee3e34d216","original_commit_id":"0b13989966d987ceec65b789a4ffecee3e34d216","user":{"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},"body":"Please see the exact for of this reset, it doesn't have soft/hard modes. Resets with modes are in section bellow.","created_at":"2016-05-02T19:38:31Z","updated_at":"2016-05-02T19:38:31Z","html_url":"https://github.com/DevTrainings/GitTraining/pull/24#discussion_r61791079","pull_request_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments/61791079"},"html":{"href":"https://github.com/DevTrainings/GitTraining/pull/24#discussion_r61791079"},"pull_request":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24","id":67198966,"html_url":"https://github.com/DevTrainings/GitTraining/pull/24","diff_url":"https://github.com/DevTrainings/GitTraining/pull/24.diff","patch_url":"https://github.com/DevTrainings/GitTraining/pull/24.patch","issue_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/24","number":24,"state":"open","locked":false,"title":"git-reset","user":{"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},"body":"fixes #13","created_at":"2016-04-20T14:41:06Z","updated_at":"2016-05-02T19:38:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37750542a156205cffd11f3c9546e280aba5e263","assignee":{"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},"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":5,"closed_issues":8,"state":"open","created_at":"2016-03-17T20:58:49Z","updated_at":"2016-05-02T08:14:58Z","due_on":"2016-04-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24/commits","review_comments_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24/comments","review_comment_url":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DevTrainings/GitTraining/issues/24/comments","statuses_url":"https://api.github.com/repos/DevTrainings/GitTraining/statuses/0b13989966d987ceec65b789a4ffecee3e34d216","head":{"label":"DevTrainings:f_13","ref":"f_13","sha":"0b13989966d987ceec65b789a4ffecee3e34d216","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-05-02T08:15:00Z","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":126,"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":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"DevTrainings:master","ref":"master","sha":"16fa6d535f0859fb07343c44961c517572e94368","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-05-02T08:15:00Z","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":126,"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":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24"},"html":{"href":"https://github.com/DevTrainings/GitTraining/pull/24"},"issue":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/issues/24"},"comments":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/DevTrainings/GitTraining/statuses/0b13989966d987ceec65b789a4ffecee3e34d216"}}}}