当 Git 仓库的管理员变更了、或者服务器 IP 变动了,往往 Git 对应的地址需要做修改。以下是具体操作步骤:

1. 查看当前仓库地址信息

git remote -v

2. 更换为新的地址

git remote set-url origin https:///istester-com/21DayLinux.git

3. 重新操作步骤1

git remote -v
确认下是否修改到