[TxMt] Re: TextMate and github
Allan Odgaard
mailinglist at textmate.org
Fri May 17 03:06:33 UTC 2013
On May 16, 2013, at 19:54, Ross Ahmed <rossahmed at googlemail.com> wrote:
> Using the same R script, I generally run the code in RStudio and edit the code in TextMate. I have been using version control in RStudio for quite some time. I would like to connect TextMate to the same repository. Therefore, I can can commit changes to the R script in both RStudio and TextMate. The repository is offline. How can I connect TextMate to the same repository?
As you say you have already been using version control with your files, it should be a simple matter of opening the containing folder in TextMate (e.g. drag it to TextMate’s application icon).
You should find that files are badged with their SCM status and you can click the file browser’s fork icon (equivalent menu action is Go → SCM Status bound to ⇧⌘Y) to see only modified / untracked files.
Use Bundles → SCM to see a list of actions or press ⌘Y for a pop-up with these actions.
Most actions will be limited to the file browser selection. Here it’s useful to know that ⌃⌘R selects the current file, ⇧⌘A clears the selection, and ⌥⌘⇥ moves focus between file browser and text view.
More information about the textmate
mailing list