Re: git pull origin doesn't update the master
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 10, 2006, 07:24 UTC
- Message-ID
- <7vmzetao5h.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <cc723f590604092345r7d0e2cedr8f9838d054ecb023@mail.gmail.com>
"Aneesh Kumar" <aneesh.kumar@gmail.com> writes:
> Work flow is now a bit complicated. I clone the repository. Now i need > to edit remotes/origin to make sure what all branches i need to > follow. And then do a git pull origin. Earlier i just need to do a > clone and a git pull. I don't need to fast forward pu branch.
What you are saying is that the previous round did a wrong thing without telling the user, and it just happened that you did not care about the wrong thing it did.
It is a gentle reminder that heads that are rewound need to be advertised as such. It is conceivable that in future versions of git we might want to be able to mark some branches "this is expected to be rewound" explicitly and make the clone operation to take notice, to give you the plus sign automatically.