Clean upstream before merging to ensure clean state

This commit is contained in:
Aikar 2019-04-02 21:46:32 -04:00
parent fba6eef5bd
commit 1ba5ee72ff

View file

@ -9,7 +9,7 @@ gitcmd="git -c commit.gpgsign=false"
function update {
cd "$workdir/$1"
$gitcmd fetch && $gitcmd reset --hard origin/master
$gitcmd fetch && $gitcmd clean -fd && $gitcmd reset --hard origin/master
cd ../
$gitcmd add $1
}