25 Star 121 Fork 25

dream7180 / Shutter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
switchgit.bat 259 Bytes
一键复制 编辑 原始数据 按行查看 历史
dream7180 提交于 2020-10-10 00:29 . 20201010
@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
)
)
C
1
https://gitee.com/dream7180/Shutter.git
git@gitee.com:dream7180/Shutter.git
dream7180
Shutter
Shutter
master

搜索帮助