emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrap-search 3.3.5


From: Gregory Heytings
Subject: Re: wrap-search 3.3.5
Date: Thu, 01 Sep 2022 20:01:13 +0000


If you're more comfortable with replacing ~/public_html/emacs-init/wrap-search.el with a symlink to ~/git/wrap-search/wrap-search.el, do that.

No, for the same reason. The other way around would be OK tho.


Okay, then given your requirements, AFAICS the only remaining possibility is to add, in the script which rsyncs your files to the server, something like:

cp ~/public_html/emacs-init/wrap-search.el ~/git/wrap-search/wrap-search.el
cd ~/git/wrap-search/
git commit -am $(date +%Y%m%d) && git push

This will copy your master file into your local repository, and push it from there to the remote repository (if necessary). Change the "~/git/" in the above commands if appropriate. You may also want to adapt the commit message if you sometimes rsync your files multiple times a day (although Git doesn't care if multiple commits have the same message).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]