From eca3531329675cf5d5d0d0c2575ef6ee681691d6 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Sun, 16 Jul 2023 22:25:05 -0400 Subject: [PATCH] git fetch fix for docker --- docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 38371c650..dcb6f9131 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -22,5 +22,9 @@ RUN cd axolotl && \ pip install -e .; \ fi +# fix so that git fetch/pull from remote works +RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \ + git config --get remote.origin.fetch + # helper for huggingface-login cli RUN git config --global credential.helper store