emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Accepted] [Orgmode] Re: [PATCH] Table caption produces trailing "ni


From: John Hendy
Subject: Re: [Accepted] [Orgmode] Re: [PATCH] Table caption produces trailing "nil" in pdf export
Date: Thu, 12 Aug 2010 15:55:43 -0500

Worked like a charm. Thanks Bastien!

John

On Thu, Aug 12, 2010 at 9:18 AM, Bastien <address@hidden> wrote:
John Hendy <address@hidden> writes:

> Now that the patch is "official", how do I conduct my next git pull since I
> don't really want to commit my modified file in favor of the incoming from the
> git server?

If your patch comes from a temporary branch, just checkout the master
branch (~$ git checkout master) and pull normally with ~$ git pull.

(This is the advantage of working in branches: you'll always be able to
pull from the master branch.)

If your patch comes from the master branch, two cases:

1. you *didn't commit* your changes on your local repo.  Then you need
  to reset to HEAD and pull:

  ~$ git reset --hard HEAD
  ~$ git pull

2. you *did commit* your changes on your local repo.  Then you need to
  reset to a specific commit (i.e. the one from last pull) and pull:

  ~$ git reset --hard <commit>
  ~$ git pull

You can get <commit> with ~$ git log.

Playing with gitk might also help.

http://book.git-scm.com/4_undoing_in_git_-_reset,_checkout_and_revert.html
will give more details.

HTH,

--
 Bastien


reply via email to

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