47 Star 324 Fork 29

dream7180 / foobox-cn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
switchgit.bat 259 Bytes
一键复制 编辑 原始数据 按行查看 历史
dream7180 提交于 2023-03-15 12:12 . commit message
@echo off
rem switch to 1=github 2=gitee
set a=0
set b=0
set c=0
if exist .github set /a a=1
if exist .gitee set /a b=2
set /a c=%a%+%b%
if %c%==1 (
rename .git .gitee
rename .github .git
) else (
if %c%==2 (
rename .git .github
rename .gitee .git
)
)
1
https://gitee.com/dream7180/foobox-cn.git
git@gitee.com:dream7180/foobox-cn.git
dream7180
foobox-cn
foobox-cn
master

搜索帮助