modify link

This commit is contained in:
加里 2014-09-09 11:05:02 +08:00
parent 4df78398d0
commit bc5659b14f
2 changed files with 2 additions and 21 deletions

View File

@ -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.
* 空白的规则文件模板,和一些注释 * 空白的规则文件模板,和一些注释

View File

@ -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