Commit 7372324f by Edward Zarecor

Merge pull request #1779 from edx/e0d/git-prune

Pruning branches first
parents bafe72a6 743dff7d
...@@ -34,6 +34,13 @@ ...@@ -34,6 +34,13 @@
force=yes owner={{ edxapp_user }} mode=0600 force=yes owner={{ edxapp_user }} mode=0600
when: EDXAPP_USE_GIT_IDENTITY when: EDXAPP_USE_GIT_IDENTITY
- name: git prune before checking out
shell: cd {{ edxapp_code_dir }} && git prune origin
sudo_user: "{{ edxapp_user }}"
notify:
- "restart edxapp"
- "restart edxapp_workers"
# Do A Checkout # Do A Checkout
- name: checkout edx-platform repo into {{ edxapp_code_dir }} - name: checkout edx-platform repo into {{ edxapp_code_dir }}
git: > git: >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment