DEV Community

Discussion on: How do you commit in GitHub ?

Collapse
 
alyson profile image
aly quey

Create repo on github/gitlab -> git init on local -> create .gitignore
-> git add .gitignore -> git commit -m 'initial commit' -> add remote origin -> push
-> checkout -b develop -> git push origin HEAD -> branch setting on remote (protect/CI etc)
-> checkout -b feature/xxxxxxx -> push origin HEAD -> Pull Request -> SELF REVIEW
-> squash merge -> rebase origin develop -> ..... continue ( ˙꒳​˙ )

Collapse
 
nazimboudeffa profile image
Nazim Boudeffa • Edited

woohoo I follow you until git commit -m "Initial commit" then am lost XD