Skip to content

Commit

Permalink
Stash changes in git pull repo script
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Nov 7, 2024
1 parent aa5bfac commit c4e45d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/pull-git-repo/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def preprocess(i):
if 'CM_GIT_CHECKOUT_PATH' not in env:
return {'return':1, 'error': 'CM_GIT_CHECKOUT_PATH is not set'}

env['CM_GIT_PULL_CMD'] = "git pull --rebase"
env['CM_GIT_PULL_CMD'] = "git stash && git pull --rebase && git stash apply"

return {'return':0}

Expand Down

0 comments on commit c4e45d4

Please sign in to comment.