Reputation: 940
I accidentally enabled Gerrit for one of my Git repositories when developing in Eclipse. Is there any way to disable this?
I'm primarily asking because it seems to have the side-effect of slowing down my staging processing within Eclipse for that repository ever since the enabling of Gerrit.
Update: I couldn't find anything in the Git config for the repository that pointed to Gerrit or reviewing. So, I tried removing the repository and the projects associated with it from the workspace and then re-importing it, but that doesn't help either..
Upvotes: 2
Views: 926
Reputation: 940
Turns out that Gerrit is configured through the existing remote configuration (e.g., origin
) itself. There are specific push/fetch specs associated with Gerrit that are added by Eclipse. If you simple remove all the existing specs and add the ones you need (or just All Branches Spec
) from both the push and fetch spects, then Gerrit is disabled again.
Thanks to @VonC for putting me on the right track!
Upvotes: 2
Reputation: 1325017
Both "Eclipse Gerrit" and "EGit/Contributor Guide" mentions a remote named "review"
Check in command line if you can remove it:
cd /path/to/your/repo
git remote remove review
Upvotes: 0