8 Star 14 Fork 5

Gitee 极速下载 / vscodium

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/VSCodium/vscodium
克隆/下载
patch.sh 526 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
if [[ "${1}" == *patch ]]; then
FILE="../patches/${1}"
else
FILE="../patches/${1}.patch"
fi
cd vscode || { echo "'vscode' dir not found"; exit 1; }
git add .
git reset -q --hard HEAD
if [[ -f "${FILE}" ]]; then
git apply --reject "${FILE}"
fi
git apply --reject "../patches/helper/settings.patch"
read -rp "Press any key when the conflict have been resolved..." -n1 -s
git restore .vscode/settings.json
git add .
git diff --staged -U1 > "${FILE}"
cd ..
echo "The patch has been generated."
Shell
1
https://gitee.com/mirrors/vscodium.git
git@gitee.com:mirrors/vscodium.git
mirrors
vscodium
vscodium
master

搜索帮助