You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
178 B
Bash
12 lines
178 B
Bash
7 years ago
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$1" ]; then
|
||
|
echo "You must specify pull request number"
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
git pull
|
||
|
git checkout v0.6
|
||
|
git fetch origin pull/"$1"/head:"$1"
|
||
|
git merge --ff-only "$1"
|