|
From: | Jean-Charles Malahieude |
Subject: | Re: more compiling questions |
Date: | Sun, 20 Dec 2009 16:41:56 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 |
Le 20/12/2009 16:28, Carl Sorensen disait :
On 12/20/09 8:14 AM, "Jean-Charles Malahieude"<address@hidden> wrote:Le 20/12/2009 05:19, Carl Sorensen disait :On 12/19/09 7:29 PM, "Mark Polesky" wrote:2) If I'm running `make' or `make doc', can I continue to work on git, changing branches, making commits, etc.? I assume no, but if someone knows, let me know.You can't change branches, because that changes the files that make is working on. You can make a commit, because a commit doesn't change the files, it just changes the git database, which make doesn't use. You can't edit files, because make needs them. If you really want to do this, you can set up two different local repositories, and run make in one then do further work on the other. You could sync them through a remote repository that you could set up on repo.or.cz.That's the reason why I use a "local clone". Here is my tree : GIT |-- Lily |-- Mentors \-- Traduc Lily is synchronized with the remote. You then create Mentors : Lily]$ git checkout master Lily]$ git clone -l -s -n . ../Mentors Initialized empty Git repository in /home/jcharles/GIT/Mentors/.git/ Lily]$ cd ../Mentors/ Mentors]$ git reset --hard you do whatever you want in Mentors while compile is running in Lily. Later on you pull/push Mentors from/to Lily.What a cool idea! I never thought of cloning a local repository locally!I've written (in French for the moment) a kind of "howto" dedicated to those who would like to help me translating and know nothing about git, emacs and all other aliens. If you are intersted, let me know.Please let us see it. I think I know enough French to figure out what you've written.
Here it is! in wiki formating. Questions, comments, amendments are welcome. Cheers, Jean-Charles
== Extras en vrac == Quelqu'un m'a envoyé des corrections sous forme de rustine. Je commence par reporter les modifications dans mes propres fichiers :;;;;; JE TRADUIS POUR LILY ;;;;;;; ;; associe l'extension .lytex au mode latex/auctex (setq auto-mode-alist (cons '("\\.lytex$" . latex-mode) auto-mode-alist));; de même, mode html pour .ihtml (setq auto-mode-alist (cons '("\\.ihtml$" . html-mode) auto-mode-alist));; de même, mode texinfo pour .texidoc (setq auto-mode-alist (cons '("\\.texidoc$" . texinfo-mode) auto-mode-alist));; ASSIGNE RACOURCI CLAVIER SI AUCTEX INSTALLà ;; CORRESPONDANT AU C-c C-s DU MODE TEXINFO (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) (add-hook 'Texinfo-mode-hook '(lambda () (define-key Texinfo-mode-map "\C-cs" 'texinfo-show-structure)));;;;; C'EST SYMPA POUR LES AUTRES ;;;;;;;
[Prev in Thread] | Current Thread | [Next in Thread] |