[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Accepted] [Orgmode] Re: [PATCH] Table caption produces trailing "ni
From: |
Bastien |
Subject: |
Re: [Accepted] [Orgmode] Re: [PATCH] Table caption produces trailing "nil" in pdf export |
Date: |
Thu, 12 Aug 2010 16:18:00 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
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
Re: [Orgmode] Table caption produces trailing "nil" in pdf export, David Maus, 2010/08/10