git branch --set-upstream-to=origin/main main
📦 GitHub
✨ The Prompt Phrase
What Git command do you use to set a tracking relationship between your local main branch and the main branch on the remote repository? ~git branch --set-upstream-to=origin/main main~
💻 Code Preview
📦 All-in-One Code
<div style="position:fixed;top:0px;left:0px;right:0px;bottom:0px;"><div data-zite-id="7mgkjcdb5f" data-zite-embed-type="fullscreen" style="width:100%;height:100%;" data-zite-inherit-parameters ></div><script src="https://server.fillout.com/embed/v2-zite/"></script></div>
Live Preview