Guest User

Untitled

a guest
Jun 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. @echo off
  2.  
  3. @REM UTF-8
  4. chcp 65001
  5.  
  6. for /f "delims=" %%t in ('git log -1') do set commit_comment=%%t
  7. for /f "delims=" %%t in ('git rev-parse --short HEAD') do set commit_hash=%%t
  8. echo %commit_hash% %commit_comment% > commit_info
Add Comment
Please, Sign In to add comment