mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 11:48:08 +08:00
9 lines
200 B
Bash
9 lines
200 B
Bash
|
#!/usr/bin/env sh
|
||
|
REPOS=$(git remote)
|
||
|
for REPO in $REPOS ; do
|
||
|
if [ $REPO != 'upstream' ] && [ $REPO != 'origin' ]; then
|
||
|
git remote remove $REPO
|
||
|
echo "delete remote $REPO success."
|
||
|
fi
|
||
|
done
|