[Command] How to change the URI (URL) for a remote Git repository?
1) git remote -v: Show current url
2) add new url
git remote set-url --add origin https://git.vnncdn.net/backend/vnn-system-api.git
3) remove old url
git remote set-url --delete origin https://gitlab.vietnamnetjsc.vn/sanghv/vnn-system-api
Comments
Post a Comment