Here is my current set up
FDMBA:EnglishStudy willentriken$ git remote -v
origin root@devel.phor.net:~/repos/echo.git (fetch)
origin root@devel.phor.net:~/repos/echo.git (push)
But we changed the hostname of the server from devel.phor.net to something else. Can I “repoint” my local git repository to point to this new server address without losing any of the local commits, etc. that I have?
Yes, just use the
set-urlcommandYou can see the result