I'm introducing git to a junior team member (a co-op).
They are comfortable now with the basics of adding, committing, pushing and pulling.
Now I want to introduce them to pull requests and branches.
If they start doing pull requests in branches, should I do the same for my on-going work?
I will be the one merging their pull requests in. I wasn't sure if it would make the most sense for me to work in branches (generally a good practice I know but I am curious about this specific situation of 2 devs with one junior) and if so does that mean that I'll just be merging my own branches into master. Would I even do a pull request for my work / branches anyway? Generally we use the basic github Feature Branch Workflow for these changes:
https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow
Is there a purpose for using pull requests on my own repo if I am the only developer? is useful but not quite as specific.
Whats the work flow with 2 people on a project also seems more general
and
Should I open pull requests from a branch on the official repo or my fork? seems more about forks.