How do I remove a repository from SmartGit?
Asked Answered
R

3

6

How do I remove a local repository from SmartGit v7?

If I delete the repository from disk it still appears in my list of repositories but with <missing> after it.

I cannot see any way of removing it from the UI.

Rectifier answered 21/12, 2015 at 20:2 Comment(2)
I don't use SmartGit, but is there no right-click menu to untrack the folder from the UI?Hamadryad
Nope, I've checked all the menus, context and main, and there doesn't appear to be any remove or untrack option.Rectifier
A
8

Right click on the repo and choose "Remove" item. Note that you have to close the repo to be able to do this. One way to close the repo is to right click on it and choose "Close" item. Another way is to open a different repo.

Albany answered 22/12, 2015 at 12:29 Comment(0)
A
2

delete the .git folder and it will remove it

Ademption answered 21/12, 2015 at 20:16 Comment(1)
Done that and it gives me the <missing> tag after the repository name but it is still present in the list.Rectifier
R
0

Actually I just figured it out. codeWizard was almost there, deleting it from disk was the correct solution, but I needed to restart smartgit.

On restart smartGit asks if I want to remove any missing repositories. There doesn't appear to be a way of doing this without restarting the program.

Rectifier answered 21/12, 2015 at 20:21 Comment(1)
Although this answer does work, Mikhails answer is better.Rectifier

© 2022 - 2024 — McMap. All rights reserved.