Guest User

Untitled

a guest
Nov 23rd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. @echo off
  2. setlocal
  3.  
  4. rem If you don't add path for msys2 into %PATH%, enable following line.
  5. set PATH=c:\msys64\usr\bin;%PATH%
  6.  
  7. if "%1" equ "rev-parse" goto rev_parse
  8. git %*
  9. goto :eof
  10.  
  11. :rev_parse
  12. for /f %%1 in ('git %*') do cygpath -w %%1
Add Comment
Please, Sign In to add comment