I'm new to GitHub pull requests and wondering if this would work.
Right now I branch off master, make changes and commit periodically, then at some point I'll checkout master again and run git pull
to get the latest from origin.
Next, I checkout my branch and call git rebase -i master
to apply those changes and to make sure I don't have any conflicts when the time comes to merge back to master.
I'll go through that cycle periodically while working. When I'm ready to integrate to the master branch I checkout master and call git merge <my branch>
then push to the repository.
But with pull requests do I need to take that last step? Instead, can I submit a pull request on my branch and then on GitHub apply it to master?
(I'm also open to improvements on my existing workflow, if any are apparent.)