将下面代码保存为.bat文件

@echo off
set cdir=%~dp0

for /f "delims=" %%i in ('dir /ad/b/s "%cdir%" ') do ( 
    if "%%~nxi" equ ".git" (
        cd %%~dpi
        git pull
    )

)
pause

相关文章:

  • 2021-11-04
  • 2021-06-27
  • 2021-07-17
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案