winglian commited on
Commit
eca3531
1 Parent(s): 6f16c45

git fetch fix for docker

Browse files
Files changed (1) hide show
  1. docker/Dockerfile +4 -0
docker/Dockerfile CHANGED
@@ -22,5 +22,9 @@ RUN cd axolotl && \
22
  pip install -e .; \
23
  fi
24
 
 
 
 
 
25
  # helper for huggingface-login cli
26
  RUN git config --global credential.helper store
 
22
  pip install -e .; \
23
  fi
24
 
25
+ # fix so that git fetch/pull from remote works
26
+ RUN git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && \
27
+ git config --get remote.origin.fetch
28
+
29
  # helper for huggingface-login cli
30
  RUN git config --global credential.helper store