FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-zh-cn/.github/scripts/commit.sh at master · python/python-docs-zh-cn · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
python-docs-zh-cn
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
103
Star
466
Code
Issues
5
Pull requests
3
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-zh-cn
/
.github
/
scripts
/
commit.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
14 lines (12 loc) · 278 Bytes
Breadcrumbs
python-docs-zh-cn
/
.github
/
scripts
/
commit.sh
Copy path
File metadata and controls
executable file
·
14 lines (12 loc) · 278 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!
/bin/bash
set
-ex
cd
docs
||
exit
1
git config user.email
"
github-actions[bot]@users.noreply.github.com
"
git config user.name
"
github-actions[bot]
"
if
!
git status -s
|
grep
'
\.po
'
;
then
echo
"
Nothing to commit
"
exit
0
fi
git add
.
git commit -m
'
[po] auto sync
'
git push
Back
|
FazBrowse Home
|
New Git URL