mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Clean upstream before merging to ensure clean state
This commit is contained in:
parent
fba6eef5bd
commit
1ba5ee72ff
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