On Wed, 2014-11-26 at 14:29 -0800, Adam Williamson wrote: > Hi, folks. Ran into an unfortunate issue with git which helped me mess > up a Fedora package repo today :/ > > The problem can be reproduced thus: Whoops, I missed step 0: 0. Ensure push.default is not configured globally > 1. Create an empty repo, clone it > 2. Push its master branch with something in it (just to get started) > 3. git branch --track moo origin/master > 4. git checkout moo > 5. echo moo >> moo && git commit -a -m "create moo" > 6. git push > ** BUG HAPPENS - CHANGES ARE PUSHED TO origin/master ** > 7. git config --local push.default simple > 8. echo moo2 >> moo && git commit -a -m "update moo" > 9. git push > ** PUSH IS CORRECTLY REJECTED ** -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html