emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Assistance with patching instructions on Worg


From: John Hendy
Subject: Re: [O] Assistance with patching instructions on Worg
Date: Fri, 31 Jan 2014 16:34:15 -0600

On Fri, Jan 31, 2014 at 4:23 PM, Josiah Schwab <address@hidden> wrote:
>
> address@hidden writes:
>
>> emacs doc/org.texi
>>
>> [make changes to documentation]
>>
>> git commit -m "Update documentation to org-src-preserve-indentation."
>>
>> git format-patch master
>>
>> But no files were generated... Am I doing something incorrectly?
>
> Yes.  You need to explicitly add your changes to the index.
>
>   git add doc/org.text
>
> then git commit -m "message" will behave as you expect.
>
> (Using "git commit -a" worked, because that is like doing a "git add" to
> all modified files.)
>
> It sounds like you misunderstand what "git add" does.  If you read a
> little bit more about git workflows, I think it will make sense to you.

Perhaps, though I'm familiar with `git -am "comment"` on my own stuff.
I was just following along with Worg, which doesn't mention doing
that. I'm now thinking that `git add` must be implied in the line
=make some changes (1)=?


John

>
> Perhaps the following link would be useful:
> http://stackoverflow.com/questions/3689838/difference-between-head-working-tree-index-in-git
>
> Hope that helps,
> Josiah
>



reply via email to

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