0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00
Wurst7/scripts/premerge.cmd

16 lines
690 B
Batchfile

@echo off
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
cd ..
set /p id=Pull Request #
set /p name=Branch: pr%id%-
set branch=pr%id%-%name%
call git fetch origin pull/%id%/head:%branch%
call git checkout %branch%
pause