[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some more about Git usage
From: |
Sergiu Ivanov |
Subject: |
Re: Some more about Git usage |
Date: |
Tue, 23 Jun 2009 13:38:04 +0300 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello,
On Mon, Jun 22, 2009 at 09:18:14PM +0200, olafBuddenhagen@gmx.net wrote:
> On Fri, Jun 19, 2009 at 03:00:34PM +0200, Thomas Schwinge wrote:
>
> > $ git checkout -b master-prefix_fix origin/master
>
> > $ git am < ~/where/you/saved/my/email
>
> > $ git push origin HEAD:master
>
> > $ git branch -d master-prefix_fix
>
> While it's possible to do it like that, this is a very strange approach.
>
> Most people just let the local master track origin/master, and put any
> changes there before pushing.
Initially I thought that there was some special intent behind this
technique, but now I'm more inclined to the more orthodox version
suggested by antrik, since I anyway have to do the synchronization
with the remote repository via git fetch origin.
Regards,
scolobb