mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 12:05:53 +01:00
Clean upstream before merging to ensure clean state
This commit is contained in:
parent
eb3be0ea5c
commit
a32840b449
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user