Skip to content

Instantly share code, notes, and snippets.

@em230418
Last active November 19, 2019 08:01
Show Gist options
  • Save em230418/3a33e71e0ec27d7d89f2cb0e6cf52428 to your computer and use it in GitHub Desktop.
Save em230418/3a33e71e0ec27d7d89f2cb0e6cf52428 to your computer and use it in GitHub Desktop.
Как правильно сливать
#!/usr/bin/env bash
# git checkout 11.0
# git merge --no-ff 10.0
git reset *.pot
git checkout --ours *.pot
git checkout --ours .travis.yml
# взгляни на *.po файлы. Там недолжно быть всякой фигни
rm `git ls-files --others --exclude-standard | grep ".pot" | paste -sd " " -`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment