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
Raw Permalink Normal View History

2020-01-04 23:25:32 +01:00
@echo off
2020-10-28 15:38:50 +01:00
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
2020-01-04 23:25:32 +01:00
cd ..
set /p id=Pull Request #
set /p name=Branch: pr%id%-
set branch=pr%id%-%name%
2020-01-04 23:25:32 +01:00
call git fetch origin pull/%id%/head:%branch%
call git checkout %branch%
pause