From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: OT: version control of .el files in NT Emacs Date: Fri, 09 Sep 2016 01:03:37 +0200 Message-ID: <871t0u0zau.fsf@wanadoo.es> References: <87k2emxpon.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473381991 9610 195.159.176.226 (9 Sep 2016 00:46:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 00:46:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 02:46:24 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi9xW-0001bg-EA for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Sep 2016 02:46:22 +0200 Original-Received: from localhost ([::1]:54879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi9xU-0006s5-Gf for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 20:46:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi8Mc-00050L-SU for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 19:04:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi8MW-0006cX-EH for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 19:04:09 -0400 Original-Received: from [195.159.176.226] (port=53215 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi8MW-0006c2-7R for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 19:04:04 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bi8MG-0007co-93 for help-gnu-emacs@gnu.org; Fri, 09 Sep 2016 01:03:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Q4r6FfuM3Xz4dpixVMtGHSWITKk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Thu, 08 Sep 2016 20:45:55 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111317 Archived-At: Sivaram Neelakantan writes: > What's the best way to back up/version control my .Emacs and .el files > that are bog deep in some userprofile folder like > > c:/Users/ADMIN/AppData/Roaming > > I have git and cygwin installed. Ideally, I'd like to replicate the > changes into C:/Sivaram/repos everytime I tinker with the files in the > HOME. > > I could do a shell script and cp the files over and add it to the > other repo but that's a drag and I'm likely to forget to do it > regularly. In HOME put an .emacs file with a single line: (load "c:/Sivaram/repos/your_el_repo/emacs.el") where your_el_repo contains your Emacs-related files and emacs.el contains whatever you now have in %HOME%/.emacs.