Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove added repository #146

Closed
AchmadFathoni opened this issue Jul 27, 2019 · 4 comments
Closed

Remove added repository #146

AchmadFathoni opened this issue Jul 27, 2019 · 4 comments
Assignees
Labels
feature request Feature request
Projects
Milestone

Comments

@AchmadFathoni
Copy link

I have a sub module repository inside my main repository. After I add that sub module repository using git-graph.addGitRepository, I realized that I choose the wrong folder. I looking for feature to remove that wrong repository from Repo: dropdown menu but it seems that feature is not implemented yet.

@mhutchie
Copy link
Owner

Thanks for raising this suggestion, this would definitely be useful to have in the extension for completeness.

The reason deleting repos wasn’t implemented when adding repos was, is because if the user deletes a repository, the extension needs to have a mechanism to remember all of the repos that should be ignored when the workspace is searched for repos on VSCode startup (otherwise it could be added back in). It’s possible to implement this, it just wasn’t worth the extra time when I first implemented adding repos.

@AchmadFathoni
Copy link
Author

Ok, but can you tell me where this extension save repo list? I want do some hack and delete it myself.

@mhutchie
Copy link
Owner

The extension stores this information in the Visual Studio Code Workspace State which is not manually editable by users.

I'm planning on implementing this in the next beta release, which will be available within the next few hours for you to use anyway.

@mhutchie mhutchie added this to the v1.13.0 milestone Jul 28, 2019
@mhutchie mhutchie added this to To Do in Git Graph Jul 28, 2019
@mhutchie mhutchie moved this from To Do to In Progress in Git Graph Jul 28, 2019
mhutchie added a commit that referenced this issue Jul 28, 2019
@mhutchie mhutchie moved this from In Progress to Ready For Release in Git Graph Jul 28, 2019
@mhutchie
Copy link
Owner

There is now a new command "Git Graph: Remove Git Repository" that removes a repository from Git Graph. This will be available in v1.13.0.

If you'd like to use it before the next release, you can download v1.13.0-beta.0, and install it following the instructions provided here.

@mhutchie mhutchie moved this from Ready For Release to Released in Git Graph Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
Git Graph
Released
Development

No branches or pull requests

2 participants