Clean upstream before merging to ensure clean state

This commit is contained in:
Aikar 2019-04-02 21:46:32 -04:00
parent eb3be0ea5c
commit a32840b449
No known key found for this signature in database
GPG Key ID: 401ADFC9891FAAFE

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
}