Skip to content
Snippets Groups Projects
Commit d3a675a6 authored by David Fairbrother's avatar David Fairbrother
Browse files

Switch to resetting our SHA along to origin/master

Instead of doing a pull / rebase where we can get out of sync on the
builder instead fetch and reset to the upstream version. This way we
know that we will reset back to a known state rather than relying on
previous pulls and rebase to go forwards
parent c8a40045
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
git fetch origin --prune
git checkout master
git pull --rebase
git reset --hard origin/master
git config user.name mantid-builder
git config user.email "mantid-buildserver@mantidproject.org"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment