笔记
积跬步至千里PRO
不积跬步无以至千里
展开
-
Git从远程仓库获取所有分支
git branch -r | grep -v ‘->’ | while read remote; do git branch --track “KaTeX parse error: Expected '}', got '#' at position 8: {remote#̲origin/}" "remote”; donegit fetch --allgit pull --all原创 2021-10-25 09:24:19 · 372 阅读 · 0 评论 -
Dockerfile中Ubuntu18.04 apt-get更换清华源
针对 x86架构RUN mv /etc/apt/sources.list /etc/apt/sources.list.bakRUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse" >> /etc/apt/sources.listRUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/原创 2021-09-27 15:21:10 · 1497 阅读 · 0 评论