Skip to content

Instantly share code, notes, and snippets.

@dhoer
Last active July 11, 2016 05:28
Show Gist options
  • Save dhoer/8e3a7adef012a0ea0ab0bbc300dbe3d8 to your computer and use it in GitHub Desktop.
Save dhoer/8e3a7adef012a0ea0ab0bbc300dbe3d8 to your computer and use it in GitHub Desktop.
Retain macosx build script (.travis.yml) during merge
git merge --no-commit <merge-branch>
git reset HEAD .travis.yml
git checkout -- .travis.yml
git commit -m 'merged <merge-branch>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment