mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
Clean upstream before merging to ensure clean state
This commit is contained in:
parent
eb3be0ea5c
commit
a32840b449
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue