{"action":"opened","issue":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/6","labels_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/6/comments","events_url":"https://api.github.com/repos/Alignak-monitoring/alignak/issues/6/events","html_url":"https://github.com/Alignak-monitoring/alignak/issues/6","id":78138042,"number":6,"title":"Use strict git workflow","user":{"login":"gst","id":38055,"avatar_url":"https://avatars.githubusercontent.com/u/38055?v=3","gravatar_id":"","url":"https://api.github.com/users/gst","html_url":"https://github.com/gst","followers_url":"https://api.github.com/users/gst/followers","following_url":"https://api.github.com/users/gst/following{/other_user}","gists_url":"https://api.github.com/users/gst/gists{/gist_id}","starred_url":"https://api.github.com/users/gst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gst/subscriptions","organizations_url":"https://api.github.com/users/gst/orgs","repos_url":"https://api.github.com/users/gst/repos","events_url":"https://api.github.com/users/gst/events{/privacy}","received_events_url":"https://api.github.com/users/gst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-19T15:35:11Z","updated_at":"2015-05-19T15:35:11Z","closed_at":null,"body":"I would like to follow the workflow present here : http://nvie.com/posts/a-successful-git-branching-model/   (really worth reading !)  \r\n\r\nWith it : we would disable \"bare\" push of commits to master ; only merge from ~~develop~~ \"release\" branch would be allowed in master.\r\n\r\nmaster -> THE master branch, should always only point to the last stable released version.\r\ndevelop -> The branch in which others \"dev\" branches are merged. Let them be feature or fix branches.\r\n\r\nWhen we would (want to) be in a  \"freeze period\" for preparing the next prod release : `git checkout -b release-$x.$y develop` and last bug fixes would be merged in this temporary release branch. \r\nOnce we assume it's ok : `git checkout master && git merge --no-ff release-$x.$y && git tag $x.$y`\r\n\r\n"}}