From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: using org mode and git efficiently Date: Thu, 03 Jan 2013 19:18:22 +0530 Message-ID: <87bod6xtqx.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tql5t-000411-OQ for emacs-orgmode@gnu.org; Thu, 03 Jan 2013 08:44:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tql5r-0003VL-SO for emacs-orgmode@gnu.org; Thu, 03 Jan 2013 08:44:25 -0500 Received: from mail-pb0-f47.google.com ([209.85.160.47]:44784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tql5r-0003VE-NA for emacs-orgmode@gnu.org; Thu, 03 Jan 2013 08:44:23 -0500 Received: by mail-pb0-f47.google.com with SMTP id un1so8512261pbc.6 for ; Thu, 03 Jan 2013 05:44:23 -0800 (PST) In-Reply-To: (Luca Ferrari's message of "Thu, 3 Jan 2013 14:20:08 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Luca Ferrari Cc: emacs-orgmode@gnu.org Luca Ferrari 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 > > --