SmartGit

  1. Open SmartGit and find the repository with the broken remote, double click on it to select it.
  2. 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.
  3. To fix this path add /members after clear-backblast like so git@code.clearbackblast.com:clear-backblast/members/cbb-mods-a3.git.
  4. Press Store to save it changes and continue as usual.

Git CLI

  1. Open your choice of shell session, and navigate to the root folder of the Repository with the broken remote.
  2. Run git remote -v to 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)
  3. To fix this path add /members after clear-backblast like so git@code.clearbackblast.com:clear-backblast/members/cbb-mods-a3.git.
  4. Run git remote set-url <name> <new-path> to change it to the correct path. Name is likely origin like above, but reference your own remotes list to be sure.
  5. Run git remote -v again to confirm the change did what you wanted.
  6. Continue using git as usual.
  • Last modified: 7 years ago
  • (external edit)