79501147

Date: 2025-03-11 14:48:22
Score: 0.5
Natty:
Report link

To "download" (checkout) a remote branch and incorporate it into your local copy as is, without merging with an existing branch:

  1. Fetch the remote branch
git fetch origin b1
  1. Checkout the remote branch as a new local branch (called b1 too):
git checkout -b b1 origin/b1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alexhg