Quantcast
Channel: Classroom Feedback PR when main branch is not master
Viewing all articles
Browse latest Browse all 4

Classroom Feedback PR when main branch is not master

$
0
0

OK, thanks for that info!

For reference, I sorted out how to do this manually, so in case it’s helpful for others stumbling on this:

  1. Checkout a new branch git checkout -b feedback
  2. Reset to the first commit git reset --hard $(git rev-list --max-parents=0 HEAD)
  3. Push to the student repo git push -u origin feedback
  4. Open a pull request from the default branch to feedback

Read full topic


Viewing all articles
Browse latest Browse all 4

Trending Articles