开发者

Always get 'Could not find git repository' error when starting the gitg visual tool

开发者 https://www.devze.com 2023-04-02 06:28 出处:网络
I click \'ok\' then I can use File -> Recently Opened or File -> New But I cannot set a repository as the default and I canno开发者_如何学Got get rid of the startup message showing every time unti

I click 'ok' then I can use

File -> Recently Opened or File -> New

But I cannot set a repository as the default and I canno开发者_如何学Got get rid of the startup message showing every time until I click 'OK'.

I am on Ubuntus 10 / 11 (gitg is the ubuntu equivalent of the Mac gitx tool)


This is a known bug.

Here is a fairly lame workaround is for Ubuntu 10.10, I don't have any later version: If you create a panel icon (by dragging the application icon to the panel for example), you can make it open a particular repository by editing its properties (right click -> Properties) and changing the "Command" field, replacing the %U with the path to your repository.

0

精彩评论

暂无评论...
验证码 换一张
取 消