[OS X TeX] How use git with TeXShop projects?

Herbert Schulz herbs at wideopenwest.com
Wed Oct 7 18:50:15 EDT 2020


> On Oct 7, 2020, at 4:54 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> I’d like direct advice and pointers to documentation on using a revision control system with both a local repository and a repository in the cloud for projects done in TeXShop.
> 
> Considerations:
> 
> 	- Except for having downloaded many archives from github, I’ve never used a revision control system before

Howdy,

Take a look at <https://github.com> which has good ``getting started'' documentation.

> 	
> 	- I’m agnostic with respect to the particular revison control system. I suppose Subversion and GIT are the chief contenders today.  Or RCS?
> 
> 	- I’m aware of http://www.tug.org/pracjourn/2007-3/scharrer/scharrer.pdf, but that’s a bit old (and Windows oriented)
> 
> 	- Are there any hooks in TeXShop for facilitating use of a revision control system directly within it?

No direct hooks that I know of. However, you can do a lot with Macros but you need some experience using Applescript.

> 
> Although I’m engaged in a single-author project, my understanding is that using a revision control system would be a lot safer than my current, “manual” system of (i) having the Mac utility app Forever Save 2 automatically save each TeX file each time it’s saved within TeXShop; (ii) daily backing up the current files in the project into a .tar via a little shell script; and (ii) of course the usual local backup to TimeMachine and remote backup to a cloud-based system such as AWS S3/Glacier.
> 

This really sounds more like having backups of documents in the cloud rather than being able to backtrack, fork versions, etc.

> ---
> Murray Eisenberg			murrayeisenberg at gmail.com
> 503 King Farm Blvd #101	Home (240)-246-7240
> Rockville, MD 20850-6667	Mobile (413)-427-5334


Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)



More information about the MacOSX-TeX mailing list