From bc5659b14fdae0f12db33c55e7b074a302bd9e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=A0=E9=87=8C?= Date: Tue, 9 Sep 2014 11:05:02 +0800 Subject: [PATCH] modify link --- README.md | 4 ++-- filter.sh | 19 ------------------- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100755 filter.sh diff --git a/README.md b/README.md index aff22d1..e58e891 100644 --- a/README.md +++ b/README.md @@ -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. * actually ruleFile.js is a module for Nodejs, feel free to invoke your own modules. * ``anyproxy --rule /path/to/ruleFile.js`` -* you may learn how it works by our samples: [./rule_sample](./rule_sample) -* samples in [rule_sample](./rule_sample) +* you may learn how it works by our samples: ./rule_sample +* samples in ./rule_sample * **[rule__blank.js](./rule_sample/rule__blank.js)**, * blank rule file with some comments. You may read this before writing your own rule file. * 空白的规则文件模板,和一些注释 diff --git a/filter.sh b/filter.sh deleted file mode 100755 index 114015c..0000000 --- a/filter.sh +++ /dev/null @@ -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 \ No newline at end of file