How to update the GIT remote repo

Update to the new repo

git remote set-url origin <new repo>

Check the current origin

git remote -v

After we moved to the new repository… run this command to clean up deleted branches

git fetch -p

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *