From 552e0955da2c9815eda4cf0d26a3335a540693ee Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Wed, 29 May 2019 11:05:53 +0100 Subject: [PATCH] Tell user to remove .git folder --- .../main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java index 648e24a0ba..3cb3e51816 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/Request.java @@ -86,6 +86,8 @@ public abstract class Request { "already a git repository. The Overleaf git-bridge cannot work with this project", "due to a known problem with handling these '.git' folders.", "", + "We recommend removing the .git folder before trying again.", + "", "If this is unexpected, please contact us at support@overleaf.com, or", "see https://www.overleaf.com/help/342 for more information." ));