SmartGit
- Open SmartGit and find the repository with the broken remote, double click on it to select it.
- In the top menu select Remote → Properties, it should show you a url like such
git@code.clearbackblast.com:clear-backblast/cbb-mods-a3.git. - To fix this path add
/membersafterclear-backblastlike sogit@code.clearbackblast.com:clear-backblast/members/cbb-mods-a3.git. - Press Store to save it changes and continue as usual.
Git CLI
- Open your choice of shell session, and navigate to the root folder of the Repository with the broken remote.
- Run
git remote -vto list your current remotes, there should be a group that looks something like:origin git@code.clearbackblast.com:clear-backblast/members/cbb-mods-a3.git (fetch) origin git@code.clearbackblast.com:clear-backblast/members/cbb-mods-a3.git (push)
- To fix this path add
/membersafterclear-backblastlike sogit@code.clearbackblast.com:clear-backblast/members/cbb-mods-a3.git. - Run
git remote set-url <name> <new-path>to change it to the correct path. Name is likelyoriginlike above, but reference your own remotes list to be sure. - Run
git remote -vagain to confirm the change did what you wanted. - Continue using git as usual.