Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branching practices #9

Closed
3 tasks done
ruusukivi opened this issue May 15, 2023 · 2 comments
Closed
3 tasks done

Branching practices #9

ruusukivi opened this issue May 15, 2023 · 2 comments
Assignees
Labels
task Improvements or additions to documentation
Milestone

Comments

@ruusukivi
Copy link
Contributor

ruusukivi commented May 15, 2023

  • Reviewed and approved by everyone in the team
  • Decisions documented
  • Branch protection rules
@ruusukivi ruusukivi added the task Improvements or additions to documentation label May 15, 2023
@ruusukivi ruusukivi added this to the Sprint 0 milestone May 15, 2023
@ruusukivi
Copy link
Contributor Author

Joni Joensuu
Laitoin tohon main-haaraan nyt merge-rulet käyttöön. Eli lähtökohtaisesti ei pushata main-haaraan, vaan tehdään Pull Request. Joku toinen käy katselmoimassa PR:n ja kun review on mennyt läpi niin voi mergee main-haaraan. Jos on jotain tosi pieniä muutoksia, joita ei tarvitse katselmoida, niin force-push onnistuu (täytyy silti tehdä PR).

Eli tässä ohjeet, kun lähdette työstämään koodia:

$ git pull
$ git checkout -b
$ git add -A
$ git commit -m ""
$ git pull (tarvittaessa, jos välissä muut on mergenny jotain)
$ git push origin

Ohjeet toisen branchin tarkasteluun lokaalisti:

$ git fetch origin
$ git checkout
$ git pull origin

@isakpulkki
Copy link
Contributor

Branching practices are documented, and we have merge-rules. Everyone on the team is working accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Improvements or additions to documentation
Projects
Status: Approved by customer
Development

No branches or pull requests

6 participants