What does Update from Main do?
Update from Main synchronizes a branch with the changes made in the main branch
While on a branch in your repository, you can find the Update from Main command under Branch > Update from Main. This command will update the branch you're currently on with the changes from the main branch by performing a merge of the main branch into the branch you are on. You will see a commit in your history called Merge branch main into *branch-name*.
Be aware that if there are conflicting changes between your branch and the main branch, you will be prompted resolve these conflicts manually. Resolving conflicts requires careful attention to ensure that the resulting code remains correct and functional.
It is recommended to keep branches short-lived to avoid needing to use Update from Main.
Elements of the UI may have changed since the time of posting. For the most up-to-date information, refer to our Documentation.