Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docs
deflect-docs
Commits
5c7f5519
Commit
5c7f5519
authored
Jul 04, 2019
by
Joe Landers
Browse files
txpull.sh
parent
771b4adc
Changes
1
Hide whitespace changes
Inline
Side-by-side
txpull.sh
0 → 100755
View file @
5c7f5519
#!/bin/bash
set
-e
git fetch
branchname
=
$(
date
'+%Y.%m.%d.%H.%M'
)
git checkout
-b
$branchname
git reset
--hard
origin/master
tx pull
--force
# pull every file + language from transifex, ignoring timestamps
(
cd
locale
&&
for
d
in
*
;
do
git add
$d
git commit
-m
"
$d
"
||
true
done
)
git push originssh/
$branchname
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment