You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO I wanted +fake on here but Go rejects the semver if it has +BUILD
ENV FAKEGIT_GO_SEMVER v1.2.3-4.5.6.7.8.9.0
ENV FAKEGIT_GO_REVISION 1.2.3.4.5.6.7.8.9.0
ENV FAKEGIT_GO_TIMESTAMP 1234567890
COPY fake-git.sh /usr/local/bin/git
RUN git --fake
RUN mkdir -p .git # 🙃 ("touch .git" should be enough here, but Go insists it be a directory even though Git worktrees are a thing and have ".git" as a file)