mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 15:31:26 +00:00
modify link
This commit is contained in:
parent
4df78398d0
commit
bc5659b14f
@ -38,8 +38,8 @@ How to write your own rule file
|
|||||||
* with rule file, you can modify a request at any stage, no matter it's just before sending or after servers' responding.
|
* with rule file, you can modify a request at any stage, no matter it's just before sending or after servers' responding.
|
||||||
* actually ruleFile.js is a module for Nodejs, feel free to invoke your own modules.
|
* actually ruleFile.js is a module for Nodejs, feel free to invoke your own modules.
|
||||||
* ``anyproxy --rule /path/to/ruleFile.js``
|
* ``anyproxy --rule /path/to/ruleFile.js``
|
||||||
* you may learn how it works by our samples: [./rule_sample](./rule_sample)
|
* you may learn how it works by our samples: ./rule_sample
|
||||||
* samples in [rule_sample](./rule_sample)
|
* samples in ./rule_sample
|
||||||
* **[rule__blank.js](./rule_sample/rule__blank.js)**,
|
* **[rule__blank.js](./rule_sample/rule__blank.js)**,
|
||||||
* blank rule file with some comments. You may read this before writing your own rule file.
|
* blank rule file with some comments. You may read this before writing your own rule file.
|
||||||
* 空白的规则文件模板,和一些注释
|
* 空白的规则文件模板,和一些注释
|
||||||
|
19
filter.sh
19
filter.sh
@ -1,19 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
git filter-branch -f --env-filter '
|
|
||||||
|
|
||||||
OLD_EMAIL="5918760@gmail.com"
|
|
||||||
CORRECT_NAME="想当当"
|
|
||||||
CORRECT_EMAIL="donghua.yan@alipay.com"
|
|
||||||
|
|
||||||
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
|
|
||||||
then
|
|
||||||
export GIT_COMMITTER_NAME="$CORRECT_NAME"
|
|
||||||
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
|
|
||||||
fi
|
|
||||||
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
|
|
||||||
then
|
|
||||||
export GIT_AUTHOR_NAME="$CORRECT_NAME"
|
|
||||||
export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
|
|
||||||
fi
|
|
||||||
' --tag-name-filter cat -- --branches --tags
|
|
Loading…
x
Reference in New Issue
Block a user