remyabel makes some really good arguments for thisremyabel makes some really good arguments for this, but the best reason to block them outright is simply that they break the logic that's supposed to encourage people to include the code in the post itselfthey break the logic that's supposed to encourage people to include the code in the post itself:
This design avoids blocking links to the default pages for the various code-hosting services while still enforcing the code restriction on likely links to hosted code. But it falls apart completely for these "collaboration" links, which contain the relevant identifiers in the URL fragment.
The combination of a link that can't be relied on to be current AND no easy way to see what the code was when the question was posted is a real deal-breaker. So I've blacklisted these links on Stack Overflow: