János
János

Reputation: 35090

Is it any git able text editor for MAC?

Is it any extension for git for MAC users? I would like to use git integrated with TextWrangler or any text editor in my MAC.

Upvotes: 1

Views: 5488

Answers (4)

NK Lee
NK Lee

Reputation: 1

Coda 2, you can Git Add, Commit, Push, Pull and more within the editor.

Upvotes: 0

János
János

Reputation: 35090

I would recommend for everybody to use SourceTree as git GUI front end on Mac. Git + SourceTree + Dropbox what we use in our company to sync our daily work. SourceTree is free yet.

If there is something you can not handle in SourceTree, than it is good to know that the default text editor is vim. The most important shortcuts for vim are the following:

  • Press 'i' to get into 'edit / insert' mode from 'view' mode
  • Press ESC to get back to 'view' mode
  • Write in view mode ':wq' to quit vim and save changes

Upvotes: 2

regulus6633
regulus6633

Reputation: 19030

I'm not sure what you're asking. I use TextWrangler as my text editor from git. In TextWrangler, under the application menu, choose "Install Command Line Tools". That installs /usr/bin/edit. Then in my ".gitconfig" file I use:

editor = /usr/bin/edit -w

This makes TextWrangler my git text editor. So when I run a git command like "git commit -a", TextWrangler will open and I can enter my commit comment. When I close TextWrangler I am taken back to the Terminal where I can continue using git.

Upvotes: 9

Romain Deveaud
Romain Deveaud

Reputation: 824

Maybe the Git Bundle for TextMate is what you need http://blog.macromates.com/2008/git-bundle/

Upvotes: 3

Related Questions