Skip to content

Commit

Permalink
dont rely on git config for engine pull
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercoms committed Nov 25, 2024
1 parent e5e790d commit 5459bb2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pbpy/pbunreal.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,16 @@ def download_engine(bundle_name=None, download_symbols=False):
pbtools.run(
[pbgit.get_git_executable(), "-C", str(root), "switch", base_branch]
)
pbtools.run([pbgit.get_git_executable(), "-C", str(root), "pull"])
pbtools.run(
[
pbgit.get_git_executable(),
"-C",
str(root),
"pull",
"--rebase",
"--autostash",
]
)
pbtools.run(
[
pbgit.get_git_executable(),
Expand Down

0 comments on commit 5459bb2

Please sign in to comment.