#26 ✓invalid
Stephen Bannasch

can't open folders with ".git" suffix

Reported by Stephen Bannasch | November 12th, 2008 @ 06:28 PM

After installing gitx -- folders that have a suffix of ".git" are changed from a type of "Folder" to "Git Repository" and the application which opens these files is changed from Finder to gitX.

Once changed it is not obvious from the finder how to change them back. I couldn't find the Finder when using the "Open with ..." command in "Get Info".

Comments and changes to this ticket

  • Stephen Bannasch

    Stephen Bannasch November 12th, 2008 @ 06:31 PM

    My use case:

    I uses suffixes of ".git" and ".svn.git" to help me easily distinguish the git repositories that are git svn clones from normal git repositories.

    I also use other suffixes for the directories holding checkouts from other repository types.

  • Pieter de Bie

    Pieter de Bie November 12th, 2008 @ 09:57 PM

    • State changed from “new” to “invalid”

    Yeah, this is a known issue, see also #15

    GitX basically follows git convention in that .git directories are assumed to be bare repositories. It's not really possible to make the behaviour optional. I might disable it completely, but I kinda like this behaviour myself.

    I'd suggest you just rename your directories, or use "Show Package Contents" in the Finder.

  • Stephen Bannasch

    Stephen Bannasch November 12th, 2008 @ 10:25 PM

    What directories do you want/use this behavior on?

    Is it only on the actual ".git" directories themselves?

    What about integrating a contextual menu plugin with GitX that added "open with GitX" to any folder that was a git folder or had a ".git" folder within it?

    Separate from the effort to get this working -- would this meet your UI desires?

  • Pieter de Bie

    Pieter de Bie November 16th, 2008 @ 02:49 PM

    I'm not sure -- I'm not particularly attached to either case, as I don't have many bare repositories so I can't open them using GitX anyway.

    To be honest, I mostly use gitx with the command line client, or by using the "open recent.." menu from GitX.

    The context menu entry might be nice and could be used as a replacement for the .git association, but I'm not sure how much hacking that would require. If it's really dirty, I'm against adding it to GitX.

    Another option would be to add a "Open in GitX.." Finder icon/button, like there's also for git-gui: http://code.google.com/p/git-osx... That would be a good alternative for both other implementations and shouldn't be too hard to create. We can then add another option in the main menu, beneath the "Enable Terminal Integration...", something like "Enable Finder Integration...".

    After thinking about it for a bit, that's probably the nicest way to go. It also allows you to open subdirectories in a git repository without trouble.

  • meowsqueak

    meowsqueak July 1st, 2012 @ 07:39 AM

    • Milestone order changed from “0” to “0”

    The described behaviour isn't really my thing, doesn't fit with my workflow at all, but the biggest issue is that I can't seem to restore original behaviour. I'd like to uninstall GitX completely, and remove this association, but I can't work out how to do it. I tried editing the com.apple.LaunchServices.plist with PlistEdit Pro but it isn't clear to me which key corresponds to GitX.

    So right now I have all of my git repositories (all with .git extension) unable to be visited by Finder and I'd really like to get rid of this problem. This makes GitX unusable for me.

    Please advise on how to uninstall and restore original Finder behaviour.

  • Annette McQueen

    Annette McQueen July 2nd, 2018 @ 09:46 PM

    After installing gitx -- folders that have a suffix of ".git" are changed from a type of "Folder" to "Git Repository" and the application which opens these files is changed from Finder to gitX. And if youre still not able to convert then the other option is cv preparation service, you could go and upload your file there !

  • kenkoiii

    kenkoiii August 8th, 2018 @ 11:34 AM

    Thank you for posting such a great article! I found your website perfect for my needs bouncing balls game, red ball

  • Arvind Kumar

    Arvind Kumar September 3rd, 2018 @ 09:40 AM

    In this control panel if you can uses this then firstly you have to know well about this here you can controlpanelwindows10 know and learned very well that help to optimize the setting in your own way at one time when i am not knowing about the control panel and i have open this then i some data i have lost because i don't know the function so i am briefly tell that you can learned then you can open the control panel.

  • marcosanchez

    marcosanchez September 14th, 2018 @ 10:37 AM

    Your post has many detail information. I read all your article and I really like it. Thank you for sharing this great post.
    Lenny Face

  • satta matka

    satta matka September 23rd, 2018 @ 04:40 PM

    That Can help You To Find Best satta matka Datefix Game For Kalyan and Main Mumbai Matka Games.

  • spirulinamanfaat

    spirulinamanfaat October 15th, 2018 @ 05:28 AM

    Any email that your provider marks as spam will not appear in Front.
    Manfaat chlorella untuk kesehatan
    With Gmail and Office 365 inboxes, Front will pull messages from Junk and Trash, so spam will appear in Front.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

GitX is the nice-looking gitk clone for OS X