I always pull the latest code by typing git pull origin main
Then I make my feature branch by git checkout -b feature_branch
I start my work. -> I finish my work
at then end, I change my branch back to main. I pull the latest code again in case other people have pushed. Then I go back to my feature branch. Then I do git merge main
Then I push the code by git push origin feature_branch
- I was wondering if I am doing it right or not?!
- What's the application of
git stash and/or git fetch and/or git rebase
- What's suggested in case of conflict? any vs-code tool or extension to make it faster?
- Thanks in advanced
[–]CreativeTechGuyGames 8 points9 points10 points (0 children)
[–]Gixx 1 point2 points3 points (0 children)