wslgit

@echo off
setlocal enabledelayedexpansion
set command=%*
If %PROCESSOR_ARCHITECTURE% == x86 (
    echo | C:\Windows\sysnative\bash.exe -c 'git %command%'
) Else (
    echo | bash.exe -c 'git %command%'
)
posted @ 2019-01-09 23:06  灯塔下的守望者  阅读(304)  评论(0编辑  收藏  举报