Skip to content

Instantly share code, notes, and snippets.

@atomoil
Created July 20, 2018 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomoil/c361bcb86594cc4e421dfef3fd21a15b to your computer and use it in GitHub Desktop.
Save atomoil/c361bcb86594cc4e421dfef3fd21a15b to your computer and use it in GitHub Desktop.
Comparing Localizable Strings in diff branches with sorting
diff -uwB <(git show origin/branch:path/to/en.lproj/Localizable.strings | sort | sed -n 's/"\(.*\)" =.*/\1/p') <(git show develop:path/to/en.lproj/Localizable.strings | sort | sed -n 's/"\(.*\)" =.*/\1/p')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment