Textmate 2 Tips

  • Archive
  • RSS
  • Submit

TextMate Blog » Git Style Configuration

    • #Git
    • #Preferences
    • #.tm_properties
    • #Settings
  • 1 year ago
  • 2
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

SmartFolders

You can access a “Smart Folder” from the top bar of the folder drawer by clicking on the purple folder with a gear on it. This folder gives you a view of ‘Uncommitted Changes’ and ‘Untracked Files’ in your project*.

smart folder on textmate

You can select files you want to commit using the Git bundle’s “Commit…” command (makes it easier if assign a shortcut to this menu item — maybe ⌘⌥⌃C — though you can use this tip to find one that doesn’t conflict).

You can also access a diff viewer from here which opens within textmate itself. Not ideal compared to GitX or Github, but for small commits it’s nice to not have to switch away from Textmate.

*This requires that you are using a source control system such as Git, Subversion or Mercurial, and that you have configure the proper path in .tm_properties.

    • #scm
    • #file browser
    • #git
    • #svn
    • #hg
    • #smart folder
    • #submission
  • 1 year ago
  • 20
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Git status in file browser

If you’ve configured your .tm_properties file to point to your installation of git, the file browser will display source control status icons on your files.

You can see this on the index.php and header.php files in the repo above, both of which have not-yet-committed changes, and are displaying small blue circle icons.

    • #SCM
    • #git
    • #File browser
    • #preferences
  • 1 year ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Logo

Textmate 2: The missing manual. Help us out by submitting any tips or tricks you come across!

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Submit
  • Mobile

Brought to you by Ned Schwarz..

Effector Theme by Pixel Union