Closed iamprogrammerlk closed 4 months ago
@trongate
Run these in your git repository to update the dev
branch. assuming origin
is your remote alias,
Pulling all changes from
master
to temporary local branchgit pull origin master:sync-master-to-dev-branch
Pushing all changes from the temporary branch to the
dev
branchgit push origin sync-master-to-dev-branch:dev
Switching back to your
master
branchgit checkout master
Hey guys,
I would like to join the party.. but I'm a little confused. you guys are directly contributing to the
master
branch which thedev
branch left hanging... 439 commits behind themaster
.I always like to develop in my local(porked)
dev
branch and then push(via pull request) to the originaldev
(upstream) branch. then project owners will create a pull request to themain
branch if the code review processes passed,master
in this case. That makes themain
branch much clearer, production-ready, and safer.I think that also makes the codebase more easy to navigate and organize. most importantly review the code.
so can you give me the direction guide on which path I should take to be part of this... should I create PR to the
master
branch ordev
branch?PS: I think a messy codebase(git repository) is a real issue. that's why I created this matter as an issue.
@trongate