Closed limeri closed 7 years ago
Why do you push the local branch to remote repo instead of merging locally and pushing that update up?
@limeri Great question! Technically, there's no difference with how the commits would appear on master. But, we're practicing method that we'd apply in a team setting. If we merge before pushing, we miss out on the pull request step.
The pull request step is really where the magic happens - test can be run automatically, code review happens, and there's a solid context around changes in the future.
Does this answer your question?
So we do it this way so we can do a review? If we're not at the review step, then it doesn't matter?
But then you'd need to communicate to team members that they need to pull.
@limeri You're right. For today it doesn't "matter", but we're practicing the steps in the recommended best practice for collaborative workflows. We'll practice merging locally later.
k, thanks. Will we also practice reviews later?
@limeri Unfortunately we won't have time to practice reviews again. ☹️ This video is a good review of our class activity and code reviews.
I'm going to close for now, but please feel free to reopen or to open a new issue if you have more questions.
@limeri Yep! Do you have a question?