On Thursday, March 22, 2012, tombert <tomb...@live.at> wrote:
> Interesting post, but this puzzles me:
>
> On Thursday, March 22, 2012 8:52:12 AM UTC+1, radovan bast wrote:
>>
>> obviously i wouldn't do this if you have already pushed the commits
>>
>
> I guess it is a problem if some other people commit on the wrong master
branch?

What hapens if:

1: I do a pull from origin/master
2: You edit origin/master's history by doing a rebase, reset, etc. followed
by a --force'd push
3: I do a pull from origin/master again

?

Answer: I have now *merged* the old master with the new master in my local
reository.

Best case, you've confused the people you're working with.  Worst case,
someone inadvertantly pushes the commits you were trying to get rid of back
to the shared repository without realizing they existed.

-- 
-PJ

Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to