Skip to content

Commit 3c6a58c

Browse files
committed
Hard reset instead of pull.
1 parent 9a960ec commit 3c6a58c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pdf/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ function commit()
142142
@info "committing built PDF files."
143143

144144
# Make sure the repo is up to date
145-
run(`git pull origin`)
145+
run(`git fetch origin`)
146+
run(`git reset --hard origin/assets`)
146147

147148
mktemp() do keyfile, iokey; mktemp() do sshconfig, iossh
148149
# Set up keyfile

0 commit comments

Comments
 (0)