git fetch fix for docker
Browse files- 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
|