diff --git a/TGServerService/Repository.cs b/TGServerService/Repository.cs index 3f7d730435..ea1766b16a 100644 --- a/TGServerService/Repository.cs +++ b/TGServerService/Repository.cs @@ -788,12 +788,13 @@ namespace TGServerService //public api string Push() { + if (LocalIsRemote()) //nothing to push + return null; lock (RepoLock) { var result = LoadRepo(); if (result != null) return result; - try { if (!SSHAuth())