1

I have a preexisting (github) repository with 2 branches: master and release. I successfully set my own local copy of the master branch to origin/master but when I try to set the release branch (using magit-branch-and-checkout), there is no origin/release option. The repository was initialized with magit-init, as it's a local copy.

1
  • If you type f followed by u in the Magit status buffer should download branch info from remote, then b followed by c to start a new branch, and when prompted for a starting point try origin/release (if it knows about it it will even auto-complete)
    – jerome
    Sep 7, 2023 at 17:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.