{"id":20546,"date":"2018-02-15T16:23:22","date_gmt":"2018-02-15T21:23:22","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=20546"},"modified":"2018-02-15T16:23:22","modified_gmt":"2018-02-15T21:23:22","slug":"gitfinder-1-0","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/02\/15\/gitfinder-1-0\/","title":{"rendered":"GitFinder 1.0"},"content":{"rendered":"<p><a href=\"https:\/\/gitfinder.com\/blog\/why-gitfinder\/34\">ZigZag<\/a>:<\/p>\n<blockquote cite=\"https:\/\/gitfinder.com\/blog\/why-gitfinder\/34\">\n<p>Apple has finally come up with official way and API to extend Finder functionality and offer custom badges for icons, as well as contextual and\/or toolbar menu items (actually, adding contextual menu items was possible prior macOS 10.6, but it required tons of Carbon code, while icon badging was never officially supported). That was in macOS 10.10, also known as Yosemite. I immediately remembered seeing people years before using TortoiseGit\/SVN on Windows  and thought it would be nice to have something similar on Mac. However, the API in 10.10 was crippled in many ways (especially when it came to menus), that I just filled a bunch of bug reports and stopped thinking about it. As it usually happens in the last 7-8 years, Apple didn't bother fixing those things in minor updates, so most issues haven't been fixed before 10.11 (El Capitan) came out, a full year later.<\/p>\n<p>[&#8230;]<\/p>\n<p>The end result is the application, which can be used solely as Finder's extension, giving you quick access to files' git statuses via icon badging and most frequently used git command via Finder contextual and\/or toolbar item menu. But, you can also kick its repository browser window and use it as a separate, fully functional git client. Repository browser offers all you could expect from such client; full list of branches, tags, remotes, submodules and other references, commits list, commit diffs, commits search and others. All just a click in a Finder window away.<\/p>\n<\/blockquote>\n<p>I&rsquo;ve been testing this for a while, and it looks promising. I like being able to quickly get the history of a particular file by Control-clicking on it. And it&rsquo;s nice to be able to click, search, or <a href=\"https:\/\/mjtsai.com\/blog\/2017\/02\/02\/finder-and-terminal-are-friends\/\">glob<\/a> in the Finder to choose which files to stage or revert. The <a href=\"https:\/\/gitfinder.com\">main site<\/a> has some good screenshots that show what it can do. For me, at least, it&rsquo;s currently more of an adjunct than a replacement for other clients. Like <a href=\"https:\/\/mjtsai.com\/blog\/2017\/12\/15\/using-gitup\/\">GitUp<\/a>, it uses libgit2 rather than the git command-line tool.<\/p>","protected":false},"excerpt":{"rendered":"<p>ZigZag: Apple has finally come up with official way and API to extend Finder functionality and offer custom badges for icons, as well as contextual and\/or toolbar menu items (actually, adding contextual menu items was possible prior macOS 10.6, but it required tons of Carbon code, while icon badging was never officially supported). That was [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[905,458,377,30,32,1529,376],"class_list":["post-20546","post","type-post","status-publish","format-standard","hentry","tag-extensions","tag-finder","tag-git","tag-mac","tag-macapp","tag-macos-10-13","tag-versioncontrol"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=20546"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20546\/revisions"}],"predecessor-version":[{"id":20547,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20546\/revisions\/20547"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=20546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=20546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=20546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}