Commit d8d6ae73 authored by Tails developers's avatar Tails developers
Browse files

Add script to ignore autogenerated PO files

parent 008bcc79
......@@ -87,3 +87,13 @@ in a row with the following bash script:
This will basically check in all subfolders if there is an existing `.git` folder,
and run `git pull` if appropriate.
Remove autogenerated PO files
When building the wiki, ikiwiki often generates many PO files that you don't
need to take into account or commit if you are working on the documentation or
only on one language. This [[script|]] does a checkout on all of
the modified PO files in your working tree. **Make sure to do `git add` on the
files that you modified before running it**, otherwise your changes will be
git status | \
grep -E "modified:\s.+.pot?$" | \
cut -d ' ' -f 4 | \
while read po ; do
git checkout "$po" ;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment