From f55e5e07946320e6ed675b79f63e7c3d3848f4b4 Mon Sep 17 00:00:00 2001 From: anna19 Date: Wed, 24 Aug 2016 08:54:13 -0400 Subject: [PATCH] --- ...line:_Workflow_and_permission_problem.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/forum/Using_ikiwiki_via_command_line:_Workflow_and_permission_problem.mdwn diff --git a/doc/forum/Using_ikiwiki_via_command_line:_Workflow_and_permission_problem.mdwn b/doc/forum/Using_ikiwiki_via_command_line:_Workflow_and_permission_problem.mdwn new file mode 100644 index 000000000..7229d8180 --- /dev/null +++ b/doc/forum/Using_ikiwiki_via_command_line:_Workflow_and_permission_problem.mdwn @@ -0,0 +1,19 @@ +I use my ikiwiki for personal notes only on my laptop locally and now I am trying to edit it with emacs and push from command line. + +I have some questions about this: + +1. Is the following workflow correct: + +- goto ~/mywiki +- edit and save ~/mypage.mdwm with emacs +- git add ~/mypage.mdwm +- git commit -m "mypage edit" +- git push + +Since I also sometimes want to edit it from the web interface, I tested it and noticed that it doesn't seem that I have to pull before editing. If I save an edit from the web interface the directory ~/mywiki is updated magically without using git pull. + +Is this correct so far or is there a better workflow? + +2. After editing and saving the page from the web interface it is saved with root permissions in ~/mywiki how can I make ikiwiki to save everything with my username as group and owner? + +3. What's the best and fastest way to preview a page in my browser after editing it with emacs without updating the whole wiki? -- 2.39.5