Push Code to Azure DevOps Repository from GitHub Desktop

Azure Repos is a set of version control tools that you can use to manage your code. Whether your software project is large or small, using version control as soon as possible is a good idea. Version control systems are software that help you track changes you make in your code over time.

In this post, we will push our changes from already cloned repository. You should follow the prerequisites post before continuing with this one.


Push Code to Azure Repo

Open the code in any external code editor and make your changes. I will use Visual Studio Code for editing my files.

As I only have 1 file in my repository. I will go ahead and make my changes to this README.md file. After making changes, save the file and close the editor.

As soon as you save your file, GitHub Desktop will show the preview of your changes.

At the bottom left of the application, enter the commit message and click on Commit to main. If you have a different branch, the name will be shown accordingly. I have only 1 branch with name main.

When the changes are committed, click on Push origin to push your code to Azure Repo.

You can also click on the above tabs for easy push to remote repo.

When the changes are pushed, the header tab will change to Fetch origin. This is used to get the remote changes back to your local repo.

Thank you All!!! Hope you find this useful.

Leave a Reply

Up ↑

%d bloggers like this: