* using org mode and git efficiently
@ 2013-01-03 13:20 Luca Ferrari
2013-01-03 13:48 ` Jambunathan K
0 siblings, 1 reply; 4+ messages in thread
From: Luca Ferrari @ 2013-01-03 13:20 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I'm using Org mode to manage my coding projects, that are all based on
git. I was wondering if there are tips and tricks to use the two
efficiently, for instance storing the current head when a task is
marched as completed in org mode, so that the task can "link" to the
commit that completed a feature. Also having the commit text being
based on the org task one (or viceversa?) could be useful.
Anyone has an hint on how to achieve a more org-to-git integration?
I'm using magit to what it matters.
Thanks,
Luca
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using org mode and git efficiently
2013-01-03 13:20 using org mode and git efficiently Luca Ferrari
@ 2013-01-03 13:48 ` Jambunathan K
2013-01-03 15:20 ` Torsten Wagner
0 siblings, 1 reply; 4+ messages in thread
From: Jambunathan K @ 2013-01-03 13:48 UTC (permalink / raw)
To: Luca Ferrari; +Cc: emacs-orgmode
Luca Ferrari <fluca1978@infinito.it> writes:
> Hi all,
> I'm using Org mode to manage my coding projects, that are all based on
> git. I was wondering if there are tips and tricks to use the two
> efficiently, for instance storing the current head when a task is
> marched as completed in org mode, so that the task can "link" to the
> commit that completed a feature. Also having the commit text being
> based on the org task one (or viceversa?) could be useful.
> Anyone has an hint on how to achieve a more org-to-git integration?
> I'm using magit to what it matters.
Try
C-x v g and/or C-x v l
in your version controlled Org file.
In conventional prog-modes, while preparing a ChangeLog entry
C-x 4 a
can identify the function where the change was made. I don't whether in
Org-mode the nearest headline (which qualifies as 'nearest function')
gets picked up. If not, you can make a feature request.
See also
(info "(org) Attachments")
> Thanks,
> Luca
>
>
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using org mode and git efficiently
2013-01-03 13:48 ` Jambunathan K
@ 2013-01-03 15:20 ` Torsten Wagner
2013-01-03 15:26 ` Luca Ferrari
0 siblings, 1 reply; 4+ messages in thread
From: Torsten Wagner @ 2013-01-03 15:20 UTC (permalink / raw)
To: Luca Ferrari; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]
Hi,
there exist a contrib
http://orgmode.org/worg/org-contrib/org-git-link.html
which allows you to link to specific versions of a file under git control.
Thus, you can describe a error/feature/behavior in a file and make sure the
description remains valid even if you change the file in the mean time.
E.g. you can document your bug fixing with ¨before¨ and ¨after¨ links.
I believe that this is a very important feature if you work with git and org
Greetings
Torsten
On 3 January 2013 14:48, Jambunathan K <kjambunathan@gmail.com> wrote:
> Luca Ferrari <fluca1978@infinito.it> writes:
>
> > Hi all,
> > I'm using Org mode to manage my coding projects, that are all based on
> > git. I was wondering if there are tips and tricks to use the two
> > efficiently, for instance storing the current head when a task is
> > marched as completed in org mode, so that the task can "link" to the
> > commit that completed a feature. Also having the commit text being
> > based on the org task one (or viceversa?) could be useful.
> > Anyone has an hint on how to achieve a more org-to-git integration?
> > I'm using magit to what it matters.
>
> Try
> C-x v g and/or C-x v l
>
> in your version controlled Org file.
>
> In conventional prog-modes, while preparing a ChangeLog entry
> C-x 4 a
>
> can identify the function where the change was made. I don't whether in
> Org-mode the nearest headline (which qualifies as 'nearest function')
> gets picked up. If not, you can make a feature request.
>
> See also
> (info "(org) Attachments")
>
> > Thanks,
> > Luca
> >
> >
>
> --
>
>
[-- Attachment #2: Type: text/html, Size: 2418 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-03 15:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 13:20 using org mode and git efficiently Luca Ferrari
2013-01-03 13:48 ` Jambunathan K
2013-01-03 15:20 ` Torsten Wagner
2013-01-03 15:26 ` Luca Ferrari
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).