diff --git a/src/GitHub.App/GitHub.App.csproj b/src/GitHub.App/GitHub.App.csproj
index a9d7ebdbf0..369cf401bf 100644
--- a/src/GitHub.App/GitHub.App.csproj
+++ b/src/GitHub.App/GitHub.App.csproj
@@ -198,6 +198,8 @@
+
+
diff --git a/src/GitHub.App/ViewModels/NotAGitHubRepositoryViewModel.cs b/src/GitHub.App/ViewModels/NotAGitHubRepositoryViewModel.cs
new file mode 100644
index 0000000000..4f373d5ac7
--- /dev/null
+++ b/src/GitHub.App/ViewModels/NotAGitHubRepositoryViewModel.cs
@@ -0,0 +1,44 @@
+using System;
+using System.ComponentModel.Composition;
+using GitHub.Exports;
+using GitHub.Models;
+using GitHub.Services;
+using GitHub.UI;
+using ReactiveUI;
+
+namespace GitHub.ViewModels
+{
+ ///
+ /// The view model for the "Not a GitHub repository" view in the GitHub pane.
+ ///
+ [ExportViewModel(ViewType = UIViewType.NotAGitHubRepository)]
+ [PartCreationPolicy(CreationPolicy.NonShared)]
+ public class NotAGitHubRepositoryViewModel : BaseViewModel, INotAGitHubRepositoryViewModel
+ {
+ ITeamExplorerServices teamExplorerServices;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [ImportingConstructor]
+ public NotAGitHubRepositoryViewModel(ITeamExplorerServices teamExplorerServices)
+ {
+ this.teamExplorerServices = teamExplorerServices;
+ Publish = ReactiveCommand.Create();
+ Publish.Subscribe(_ => OnPublish());
+ }
+
+ ///
+ /// Gets the command executed when the user clicks the "Publish to GitHub" link.
+ ///
+ public IReactiveCommand