Re: [git-users] New commit it got to old pull

2014-07-22 Thread John McKown
On Mon, Jul 21, 2014 at 10:38 AM, Almaz Vildanov  wrote:
> I created the first pull.
> Then I wanted to create new pull, I sent new commit. It got to old pull.
>  How to me to cancel the lastcommit from the first pull to create on its
> basis of the second pull?
>

I don't understand what you want to do. a "git pull" goes out to the
remoted repository and brings down all the changes which have occurred
since you did the last pull. It then merges these changes into your
working directory. So, if the remote repository has not been updated
since your last "git pull", then a second "git pull" will find no
changes and thus do nothing. You can always revert your working
directory to a specific commit point, if you know it, by doing a "git
checkout" command. But this only changes the contents of the working
directory. It does not "back out" the effects of any "git pull" you
might have done.

Please excuse me if I'm being a bit "dense" (I'm not "neutronium
noggin" for nothing! ).

-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] New commit it got to old pull

2014-07-22 Thread Almaz Vildanov
I created the first pull. 
Then I wanted to create new pull, I sent new commit. It got to old pull.
 How to me to cancel the lastcommit from the first pull to create on its 
basis of the second pull?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.