Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- @REM UTF-8
- chcp 65001
- for /f "delims=" %%t in ('git log -1') do set commit_comment=%%t
- for /f "delims=" %%t in ('git rev-parse --short HEAD') do set commit_hash=%%t
- echo %commit_hash% %commit_comment% > commit_info
Add Comment
Please, Sign In to add comment