The article I referenced from is : http://blog.macromates.com/2008/git-bundle/
Git Bundle
You may have read that a lot of prominent people have recently moved to Git and are loving it. I too am one of those who fancy this new kid on the block but never got very far with the bundle I started for it.
Fortunately Tim Harper recently picked up on my initial efforts and has done a great job at not only making this bundle functional but also downright impressive :)
The much improved Git bundle can be found at Gitorious and discussion about it can be directed to its Google Group .
For those too lazy to click the link above, here are the short install instructions:
mkdir -p /Library/Application\ Support/TextMate/Bundles
cd !$
git clone git://gitorious.org/git-tmbundle/mainline.git Git.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
After having installed it you can press ⌃⌘T in TextMate and enter git to find the “Administration → Update Git Bundle” action. Use this to update the bundle (it will automatically reload after having performed the update).
If you encounter the problem:"sh: line 1: git: command not found" when excute ⌃⌘T command .
So, please :
Set the TM_GIT shell variable in the textmate preferences to your git executable to work to solve the command not found problem.
To find the path to your git binary, type "which git" on the command line. And of course, make sure Git is installed.
And then excute ⌃⌘T again or excute some git command in the modified document.
改进的Git Bundle for TextMate
本文介绍了一个改进后的Git Bundle,专为TextMate编辑器设计。该Bundle由Tim Harper基于初始版本进行了大幅度的增强,不仅提升了功能性还带来了更佳的使用体验。用户可以通过简单的步骤安装并更新此Bundle,从而在TextMate中更高效地使用Git。
224

被折叠的 条评论
为什么被折叠?



