[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: odd configure error
From: |
Graham Percival |
Subject: |
Re: odd configure error |
Date: |
Sat, 28 Mar 2009 19:02:54 +0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Mar 28, 2009 at 11:57:06AM +0100, Reinhold Kainhofer wrote:
> On Samstag, 28. März 2009 10:48:16 Graham Percival wrote:
> > I'm confused. To update git (assuming I'm in the top-level
> > directory), do I need:
> > git fetch
> > git rebase origin/master
> > or
> > git pull
> > ?
>
> Both work. There is one difference, though, if you have a local commit:
>
> - -) git fetch + git rebase will take that local commit and append it after
> the HEAD of current master, so it will be
> yourcommit (=new local master)
> |
> current_remote_head
> |
> state when you last pulled/fetched
>
> - -) git pull will merge your local commit and the current remote master:
> (local master; merged)
> | \
> current_remote_head your_commit
> | /
> state when you last pulled/fetched
>
>
> So, in the end the files will look similar in both cases (they will contain
> both the local and the remote changes), but the history will be different...
The first version looks easier to read. Is there any command-line
argument we could give to "git commit" to make it automatically
rebase stuff? Or any option we could give to "git pull", or an
option to set in git/config ?
Cheers,
- Graham
- Re: odd configure error, (continued)
- Re: odd configure error, James E. Bailey, 2009/03/25
- Re: odd configure error, John Mandereau, 2009/03/25
- Re: odd configure error, James E. Bailey, 2009/03/25
- Re: odd configure error, Graham Percival, 2009/03/26
- Re: odd configure error, Patrick McCarty, 2009/03/26
- Re: odd configure error, Graham Percival, 2009/03/27
- Re: odd configure error, Reinhold Kainhofer, 2009/03/27
- Re: odd configure error, Patrick McCarty, 2009/03/27
- Re: odd configure error, Graham Percival, 2009/03/28
- Re: odd configure error, Reinhold Kainhofer, 2009/03/28
- Re: odd configure error,
Graham Percival <=
- Re: odd configure error, John Mandereau, 2009/03/31
- Re: odd configure error, Reinhold Kainhofer, 2009/03/31
- Re: odd configure error, Jan Nieuwenhuizen, 2009/03/27
- Re: odd configure error, Carl D. Sorensen, 2009/03/27
- Re: odd configure error, Graham Percival, 2009/03/27
- Re: odd configure error, Jan Nieuwenhuizen, 2009/03/27
- Re: odd configure error, Trevor Daniels, 2009/03/27
- Message not available
- Re: odd configure error, Graham Percival, 2009/03/28