mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
58a21e941d
* Create CHANGELOG-2.1.md * Update CHANGELOG-2.1.md * Create del-useless-remotes.sh
9 lines
200 B
Bash
Executable File
9 lines
200 B
Bash
Executable File
#!/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
|