{"id":3243,"date":"2013-03-06T14:38:00","date_gmt":"2013-03-06T14:38:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2013\/03\/06\/use-git-0-8-0-0-to-run-scheduled-builds-and-resolve-conflicts\/"},"modified":"2019-02-14T17:54:39","modified_gmt":"2019-02-15T01:54:39","slug":"use-git-0-8-0-0-to-run-scheduled-builds-and-resolve-conflicts","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/use-git-0-8-0-0-to-run-scheduled-builds-and-resolve-conflicts\/","title":{"rendered":"Use Git 0.8.0.0 to run scheduled builds and resolve conflicts"},"content":{"rendered":"<p>&lt;!&#8211;<\/p>\n<pre><code>    --&amp;gt;\n<\/code><\/pre>\n<p>\/\/<\/p>\n<p>By: <a href=\"http:\/\/social.msdn.microsoft.com\/profile\/andy%20lewis%20-%20msft\/\">Andy Lewis<\/a> and <a href=\"http:\/\/social.msdn.microsoft.com\/profile\/matthew%20mitrik%20(ms)\/\">Matthew Mitrik<\/a><\/p>\n<p>Today we released Visual Studio Tools for Git 0.8.0.0. Install this release to get not only fixes to numerous bugs, (for details see the <a href=\"https:\/\/aka.ms\/git4vs\">release notes on the gallery page<\/a>), but also an enhanced conflict resolution experience. You can now also create scheduled automated builds.<\/p>\n<p style=\"margin-bottom: 0\"><a class=\"expander\" style=\"padding: 5px;background-color: #dddddd;font-weight: bold\" href=\"#\">Got the latest version of Visual Studio with Git? If not, click here.<\/a><\/p>\n<div id=\"get-git\" class=\"expandable\" style=\"padding: 3px 5px 3px 15px;margin-left: 25px;background-color: #dddddd;margin-top: 0\">\n<p>To use the Visual Studio client tools you&#8217;ll need to <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=254509\">install Visual Studio 2012<\/a>, <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=273878\">apply Visual Studio 2012 Update 2<\/a>, and finally <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=275845\">install Visual Studio Tools for Git<\/a>. If you want to use Team Foundation Service, <a href=\"https:\/\/tfs.app.visualstudio.com\/_account\/Signup\">you can sign up for free<\/a>.<\/p>\n<\/div>\n<h2>Use the new Resolve Conflicts page<\/h2>\n<p>Visual Studio alerts you when conflicts block you from pulling or merging.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/7573.GitRelease0.8.0.0-MergeConflictMsg.png\" alt=\"\" \/><\/p>\n<p>Click the link to open the Resolve Conflicts page, where you can see the conflicts that you must resolve before you can proceed with the pull or the merge. Click a conflict to get information about it. You can then compare the files that are involved.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/4477.GitRelease0.8.0.0-ResolveConflicts01.png\" alt=\"\" \/><\/p>\n<p>As you resolve each conflict, Visual Studio moves it to the Resolved section. After you have resolved all the conflicts, click Commit Merge to commit the changes and complete the merge.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/0005.GitRelease0.8.0.0-ResolveConflicts02.png\" alt=\"\" \/><\/p>\n<p>This experience is still a work in progress. For example, we need to add Abort Merge. Stay tuned for future updates.<\/p>\n<h2>Run scheduled Git builds<\/h2>\n<p>You can now run nightly-builds against your Git codebase.<\/p>\n<p>First connect to a Git team project. <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/02\/06\/set-up-connect-and-publish-using-visual-studio-with-git.aspx\">How?<\/a><\/p>\n<p style=\"margin-bottom: 0\">Next, create a build process. <a class=\"expander\" style=\"background-color: #dddddd;font-weight: bold\" href=\"#\">How?<\/a><\/p>\n<div id=\"basic-auth\" class=\"expandable\" style=\"padding: 3px 5px 3px 15px;margin-left: 25px;background-color: #dddddd;margin-top: 0\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/7041.GitCiBuilds01.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/7026.GitCiBuilds02.png\" alt=\"\" \/><\/div>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/3527.GitRelease0.8.0.0-TFBuildScheduled01.png\" alt=\"\" \/><\/p>\n<p>Select the Schedule trigger and specify when you want the build to be run.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/7853.GitRelease0.8.0.0-TFBuildScheduled02.png\" alt=\"\" \/><\/p>\n<p><strong>Tip:<\/strong> If you select the <strong>Build even if nothing has changed&#8230;<\/strong> checkbox, you can effectively schedule builds of a remote repository hosted on a third-party service such as CodePlex, GitHub, or Bitbucket.<\/p>\n<p>Specify the branch you want to build.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/03\/7178.GitRelease0.8.0.0-TFBuildSource.png\" alt=\"\" \/><\/p>\n<p>For information on how to specify the other settings, see <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/02\/12\/run-ci-builds-in-your-git-team-project.aspx\">Run CI builds in your Git team project<\/a>.<\/p>\n<p>&lt;!&#8211;<\/p>\n<h1 class=\"header-title\">Use Git 0.8.0.0 to run scheduled builds and resolve conflicts<\/h2>\n<p>&#8211;&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;!&#8211; &#8211;&amp;gt; \/\/ By: Andy Lewis and Matthew Mitrik Today we released Visual Studio Tools for Git 0.8.0.0. Install this release to get not only fixes to numerous bugs, (for details see the release notes on the gallery page), but also an enhanced conflict resolution experience. You can now also create scheduled automated builds. Got [&hellip;]<\/p>\n","protected":false},"author":91,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[253,1,225],"tags":[],"class_list":["post-3243","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-devops-server","category-devops","category-git"],"acf":[],"blog_post_summary":"<p>&lt;!&#8211; &#8211;&amp;gt; \/\/ By: Andy Lewis and Matthew Mitrik Today we released Visual Studio Tools for Git 0.8.0.0. Install this release to get not only fixes to numerous bugs, (for details see the release notes on the gallery page), but also an enhanced conflict resolution experience. You can now also create scheduled automated builds. Got [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/3243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=3243"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/3243\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=3243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=3243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=3243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}