From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: OT: version control of .el files in NT Emacs Date: Thu, 8 Sep 2016 13:05:33 -0700 Message-ID: References: <87k2emxpon.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1473365483 3797 195.159.176.226 (8 Sep 2016 20:11:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 20:11:23 +0000 (UTC) Cc: Sivaram Neelakantan To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 22:11:20 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 1bi5fH-00008H-Ei for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 22:11:15 +0200 Original-Received: from localhost ([::1]:53813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi5fI-0002RV-Cg for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 16:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi5a7-0006dn-TE for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 16:05:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi5a7-0001vU-0d for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 16:05:55 -0400 Original-Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:35328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi5a6-0001vK-Sk for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 16:05:54 -0400 Original-Received: by mail-qt0-x22e.google.com with SMTP id 93so29939149qtg.2 for ; Thu, 08 Sep 2016 13:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4YcgX8lFHRfIpS2Q57SRpROK/06LswftoXoI90gcy6k=; b=QSBccdFIz5fHk/J0xzvK09HqN/ey++J9MBusGqpQYxSWdObsqzX15Bn2GyomCQ7XF/ YffEtdJnWTY09pur9wOIr6ekhoKHC2rg4eI3IN8V0z7rWWVROL7R3RpRVPLSyshDSdYc qvOcXfP7mPw0w6wjqWbopNu20wygCp0RpGZ8RGy9rEBJI+imO9Z3uPd0lDeSxTStNTue gmi+zwri1bGBfqZHlqJztpqtoQBBTx1lS6//u+o6eSbFq06t2v6R6wP2wXiLpk0ysid+ +o8sKqa6qTX1NDWjT1QC2MeAlRVPxKbwFOhGKPNBrduJiwWNsWvbhEimJFWw3mcLVy4P icPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4YcgX8lFHRfIpS2Q57SRpROK/06LswftoXoI90gcy6k=; b=hDLdvXyaejccdoKkcVOFzDWiVvsvDhNcxm4aaeiLf+/H2mA6SabOzbp2+UboDaR/02 LEGEHhJHMG2qc1trnKmgccq4jx9x0E2T7hrEubjJst7XhfngU8bZ7afJDh7yS/jAExzT 6h+JM/AWf8vjuLFqbGHtcMr1HDxxjggVhs+fDM9jCTuoDlzW9nYGvp1RTnrPBpCj08dc 8vpvnE9dcsNDRZJTro6vqeLkOeyM0ODV2oRWIH7oCumHTkAR45fwEu4M0D+Bx8US77rA fY0z8ezLXy5i29QtfwB0BFEFHdoJX0OcK1WoXCAgq1b4ugHZNUdKcUWvMu6EGps48Y8H QZqA== X-Gm-Message-State: AE9vXwOl6OJyjd8u2PiINmiwNrRTUO15LYz5syaWls4Mf9KYqIFIq3JXn3o7zdyls17liFybxTSs5Bg0VuxoPQ== X-Received: by 10.200.52.102 with SMTP id v35mr1797114qtb.5.1473365153963; Thu, 08 Sep 2016 13:05:53 -0700 (PDT) Original-Received: by 10.237.33.46 with HTTP; Thu, 8 Sep 2016 13:05:33 -0700 (PDT) In-Reply-To: <87k2emxpon.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::22e 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:111316 Archived-At: Sivaram Neelakantan wrote: > > 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. Why not work with the files in the repos themselves? In other words, do they really need to be in two different places? If c:/Users/ADMIN isn't an appropriate place to keep a git repository, you could override HOME to e.g. c:/Sivaram, and then create c:/Sivaram/.emacs.d as a git repository. John