{"action":"created","comment":{"url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments/177808772","pull_request_review_id":107751236,"id":177808772,"diff_hunk":"@@ -34,4 +34,23 @@ Then you will be able to [create a repository](https://help.github.com/articles/\n    * You should have a push confirmation dialog \n * You can check your repository on GitHub to validate the push\n \n+::: info\n You may also use the ssh authentication mechanism if you do not want to use https. See [GitHub documentation](https://help.github.com/articles/connecting-to-github-with-ssh/) to configure ssh.\n+:::\n+\n+## First commit\n+\n+* Create a new diagram and save it.\n+* A new Git Staging view is now accessible. From this view you can manage the `status` of your repository:\n+    * You can see the **unstaged changes**: the files in this section have changed but not been updated yet, which means that they are unstaged. That is, if we commit right now, nothing will happen. You have to stage a file before you can commit it.\n+    * Below are the **staged changes**: you can add files from the unstaged changes in the staged changes by clicking on the add button (+). Only staged changes will be part of the next commit. You can remove a staged change by clicking on the remove button (-).\n+* Add the new process to the staged changes\n+* Type a commit message in the right panel of the Git Staging view\n+* Click on commit\n+* Go to Repositroy > Team > Git > Show History\n+* You can now view your commit in the repository history. You should have two commits at this stage.\n+* Before pushing your commit, pull the remote changes\n+* Go to Repositroy > Team > Git > Pull. This will fetch the remote and try to merge or rebase new commits into your local branch. A pull can put the repository in a **conflicting state** if the merge cannot be figured out by git. Conlicting files can be merge using the Git Staging view.","path":"md/share-a-repository-on-github.md","position":29,"original_position":29,"commit_id":"54419e0eea08e4d17b1080eeddd3b954179dfcc1","original_commit_id":"54419e0eea08e4d17b1080eeddd3b954179dfcc1","user":{"login":"alachambre","id":24225293,"avatar_url":"https://avatars3.githubusercontent.com/u/24225293?v=4","gravatar_id":"","url":"https://api.github.com/users/alachambre","html_url":"https://github.com/alachambre","followers_url":"https://api.github.com/users/alachambre/followers","following_url":"https://api.github.com/users/alachambre/following{/other_user}","gists_url":"https://api.github.com/users/alachambre/gists{/gist_id}","starred_url":"https://api.github.com/users/alachambre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alachambre/subscriptions","organizations_url":"https://api.github.com/users/alachambre/orgs","repos_url":"https://api.github.com/users/alachambre/repos","events_url":"https://api.github.com/users/alachambre/events{/privacy}","received_events_url":"https://api.github.com/users/alachambre/received_events","type":"User","site_admin":false},"body":"can be merged","created_at":"2018-03-28T16:23:28Z","updated_at":"2018-03-28T16:23:28Z","html_url":"https://github.com/bonitasoft/bonita-doc/pull/497#discussion_r177808772","pull_request_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments/177808772"},"html":{"href":"https://github.com/bonitasoft/bonita-doc/pull/497#discussion_r177808772"},"pull_request":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497"}}},"pull_request":{"url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497","id":176465591,"html_url":"https://github.com/bonitasoft/bonita-doc/pull/497","diff_url":"https://github.com/bonitasoft/bonita-doc/pull/497.diff","patch_url":"https://github.com/bonitasoft/bonita-doc/pull/497.patch","issue_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/497","number":497,"state":"open","locked":false,"title":"fix(git) improve git documentation","user":{"login":"rbioteau","id":1768761,"avatar_url":"https://avatars2.githubusercontent.com/u/1768761?v=4","gravatar_id":"","url":"https://api.github.com/users/rbioteau","html_url":"https://github.com/rbioteau","followers_url":"https://api.github.com/users/rbioteau/followers","following_url":"https://api.github.com/users/rbioteau/following{/other_user}","gists_url":"https://api.github.com/users/rbioteau/gists{/gist_id}","starred_url":"https://api.github.com/users/rbioteau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbioteau/subscriptions","organizations_url":"https://api.github.com/users/rbioteau/orgs","repos_url":"https://api.github.com/users/rbioteau/repos","events_url":"https://api.github.com/users/rbioteau/events{/privacy}","received_events_url":"https://api.github.com/users/rbioteau/received_events","type":"User","site_admin":false},"body":"* add additional info in git doc","created_at":"2018-03-21T12:50:28Z","updated_at":"2018-03-28T16:23:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbacb12e3732e347217f6b4360a9d98f52aec38e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497/commits","review_comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497/comments","review_comment_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/497/comments","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/54419e0eea08e4d17b1080eeddd3b954179dfcc1","head":{"label":"bonitasoft:fix/improve_git_doc","ref":"fix/improve_git_doc","sha":"54419e0eea08e4d17b1080eeddd3b954179dfcc1","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34387669,"name":"bonita-doc","full_name":"bonitasoft/bonita-doc","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-doc","description":null,"fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-doc","forks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-doc/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-doc/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-doc/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-doc/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-doc/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-doc/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-doc/releases{/id}","deployments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/deployments","created_at":"2015-04-22T11:56:58Z","updated_at":"2018-03-28T12:45:20Z","pushed_at":"2018-03-28T12:45:21Z","git_url":"git://github.com/bonitasoft/bonita-doc.git","ssh_url":"git@github.com:bonitasoft/bonita-doc.git","clone_url":"https://github.com/bonitasoft/bonita-doc.git","svn_url":"https://github.com/bonitasoft/bonita-doc","homepage":null,"size":18707,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":124,"open_issues":8,"watchers":7,"default_branch":"7.3"}},"base":{"label":"bonitasoft:7.7","ref":"7.7","sha":"c6e7304ccbcfc1378c8f5fd650d7dd479c37a902","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34387669,"name":"bonita-doc","full_name":"bonitasoft/bonita-doc","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars1.githubusercontent.com/u/4619712?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-doc","description":null,"fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-doc","forks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-doc/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-doc/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-doc/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-doc/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-doc/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-doc/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-doc/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-doc/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-doc/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-doc/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-doc/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-doc/releases{/id}","deployments_url":"https://api.github.com/repos/bonitasoft/bonita-doc/deployments","created_at":"2015-04-22T11:56:58Z","updated_at":"2018-03-28T12:45:20Z","pushed_at":"2018-03-28T12:45:21Z","git_url":"git://github.com/bonitasoft/bonita-doc.git","ssh_url":"git@github.com:bonitasoft/bonita-doc.git","clone_url":"https://github.com/bonitasoft/bonita-doc.git","svn_url":"https://github.com/bonitasoft/bonita-doc","homepage":null,"size":18707,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":124,"open_issues":8,"watchers":7,"default_branch":"7.3"}},"_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497"},"html":{"href":"https://github.com/bonitasoft/bonita-doc/pull/497"},"issue":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/497"},"comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/issues/497/comments"},"review_comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497/comments"},"review_comment":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/pulls/497/commits"},"statuses":{"href":"https://api.github.com/repos/bonitasoft/bonita-doc/statuses/54419e0eea08e4d17b1080eeddd3b954179dfcc1"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"alachambre"}}