I have some work done on a branch: WIP-my-branch
. I pushed up my branch and made a PR (yet to be approved b/c it's in progress). I got stuck, then asked for help; a co-worker then pushed up a commit on to my branch. I can see her commit on Github, but doing git pull
on my branch does not get her commit (the most recent commit on the branch). How can I accomplish this?
You need to add your co-worker's remote and merge in their changes.
git remote add coworker_remote url_to_their_repo
git remote update
git merge coworker_remote/WIP-my-branch