Skip to content

Commit

Permalink
Sorting the difference from fetch and pull (voxpupuli#174).
Browse files Browse the repository at this point in the history
  • Loading branch information
dallinb committed Feb 20, 2016
1 parent b6f9f66 commit df94603
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/circle.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ merge () {
fi

set -x
echo "Pulling $target from the origin."
git pull -p || exit $?
echo "Fetching from origin with purge."
git fetch -p origin || exit $?
echo "Pulling from origin."
git pull || exit $?
echo "Merging $CIRCLE_BRANCH into $target."
git merge $CIRCLE_BRANCH || exit $?
echo "Pushing merged branch back to the origin."
Expand Down

0 comments on commit df94603

Please sign in to comment.