fork_url: your forking repo
origin_url: repo forked by you
step.1: Check current origin, it should be fork_url.
git remote -v
step.2: Remove current origin.
git remote remove origin
#!/bin/bash | |
#!chmod +x setup.sh | |
proxy_address="your_proxy_address" | |
proxy_port="your_proxy_port" | |
export http_proxy="http://${proxy_address}:${proxy_port}" | |
export https_proxy="http://${proxy_address}:${proxy_port}" | |
sudo apt update && sudo apt upgrade |