Live data from Hacker News

Think Twice Before Downgrading to a Free GitHub Account

blog.jaredsinclair.com

101–102 of 102 posts

Re: Think Twice Before Downgrading to a Free GitHub Account

#101

Earlier quoted context omitted.

If you have a job where you arent allowed to commit directly to master / development branches this is probably how they enforce it. It keeps juniors from pushing bad code without peer review. It forces developers into doing PRs instead. Protected branches are the first thing we setup when we make a new repository at work once we hit the "getting good enough for production and autobuilds" stage of development.

Yeah but the concept of this post revolves around individual developer github account (not an organizational one). What circumstances would you be protecting your own private repo?

You can still use the same ruleset to force yourself to write code independently with a sane process though. I put repository rules on my personal private repositories on BitBucket and GitLab. Once you're used to a specific process and it works nicely for you, it makes sense to repeat. This way you don't ever pollute your main branches with in-progress code by mistake.

Re: Think Twice Before Downgrading to a Free GitHub Account

#102
post #91
post #40

Earlier quoted context omitted.

Git won though. I'm not especially a fan of git, but at this point advocating for mercurial is tilting at windmills.

Git won in the same sense that chrome won or windows won, there's value in having alternatives and I would like to have the option of mercurial in more settings. I am not advocating for use of git or mercurial, use whatever suits your needs! But I think having a platform like bitbucket support alternatives to git is a big plus for developer freedom to chose.

I think another interesting VCS is probably Fossil. It's very self-capable and self-contained. I wish it were a little more commonly used, but git or mercurial is where it's at I suppose. I keep meaning to use mercurial more, maybe I should for my BitBucket projects, it's not like it makes much difference since JetBrains IDE's handle the under the hood version control commands.
Post reply on HN