我尝试使用python连接到poloniex中的Push API,并按照答案中的说明操作:
如何使用python库连接到poloniex.com websocket api
但是我一直收到这个错误:
2017-06-25T04:07:04断开与peer tcp的连接:104.20.13.48:443 with abort = True:WebSocket打开握手超时(对等没有及时完成打开握手)
谁知道这里发生了什么?我无法从在线文档中找到它.谢谢!
我正在尝试按照本教程https://help.github.com/articles/removing-sensitive-data-from-a-repository/过滤分支。
git filter-branch --force --index-filter "git rm -r --cached --ignore-unmatch $1" --prune-empty --tag-name-filter cat -- --all
git push --force --all
Run Code Online (Sandbox Code Playgroud)
只过滤分支主,而不是源/分支。我不得不写这个脚本:
for branch in $(git for-each-ref --format='%(refname)' refs/)
do
git checkout $branch
git filter-branch --force --index-filter "git rm -r --cached --ignore-unmatch $1" --prune-empty --tag-name-filter cat -- --all
git push --force --all
done
Run Code Online (Sandbox Code Playgroud)
任何想法如何让第一个命令循环所有引用,以便我不必自己循环?