RELATED TAGS git, change address, change server, remote, repository
QUESTIONS
How can I change the address of the git server?
Can I set the remote manually?
Is it possible to switch the target address of a git repository?
LINKS Directory to RepositoryOpen CMD
Open your CMD/terminal and navigate to the direcotry.
cd{path/of/project} Change Address
Most likely, you will need to change the address of the "origin":
path/of/project:$gitremoteset-url origin{GIT-USERNAME@SERVER-ADDRESS:PATH/TO/PROJECT.git}
It could be, that you named the remote server differently, since git actually allows to define multiple servers, so the generic
command is:
path/of/project:$gitremoteset-url {REMOTE-NAME}{GIT-USERNAME@SERVER-ADDRESS:PATH/TO/PROJECT.git}APP | VERSION Linux/Ubuntu
RELATED TAGS git, change address, change server, remote, repository
QUESTIONS
How can I change the address of the git server?
Can I set the remote manually?
Is it possible to switch the target address of a git repository?