When you have a local branch created on your system, you may want to push the branch (with or without any changes) to the remote so that other users can see and get the updates.
To push a local branch to the remote, right click on that branch in Team Explorer. From the context menu, that pops up on the screen, select Push Branch. This will update the remote with the details that we have just created:
Once the remote update is successful, you will see the branch details listed under remotes/origin of your repository in Team Explorer.
Get Mastering Visual Studio 2017 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.