Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    J

    Junio Hamano

    git-blame.blogspot.com · Personal blog · on HN since 2011

    Junio Hamano, the maintainer of Git, writes about Git releases, security fixes, and behavior changes such as push defaults.

    Visit blogHN submissions
    ProgrammingOpen Source & LinuxSecurity
    What HN says

    HN commenters recommend following it to track Git changes and cite its post on the 2014 release that fixed a security hole in HFS+ handling.

    Stats for nerds
    24HN people shared it
    15linked in comments
    60story points
    Jan 2022last shared
    2011people per year2022

    Top posts on HN

    1. 1
      Git 1.8.0 released
      1 person · 22 points · first shared 2012 · 1 comments on HN
    2. 2
      Git to change default push behavior.
      1 person · 8 points · first shared 2012 · Discussion on HN
    3. 3
      Git to mandate users explain their merges explicitly in 1.7.10
      1 person · 7 points · first shared 2012 · 2 comments on HN
    4. 4
      How to inject a malicious commit to a Git repository (or not)
      2 people · 4 points · first shared 2011 · Discussion on HN
    5. 5
      Git 1.8.0 released
      1 person · 3 points · first shared 2012 · Discussion on HN
    6. 6
      Fun with Git's --first-parent
      2 people · 2 points · first shared 2012 · Discussion on HN
    7. 7
      Using signed tags in git pull requests
      2 people · 2 points · first shared 2012 · Discussion on HN
    8. 8
      Git 1.8.0 released
      1 person · 2 points · first shared 2012 · Discussion on HN
    9. 9
      Git 2.5
      1 person · 2 points · first shared 2015 · 2 comments on HN
    10. 10
      Where do evil merges come from?
      1 person · 2 points · first shared 2013 · Discussion on HN

    What HN people wrote when they linked it

    • jasodeJan 2022

      >Any reasons (beyond PR) that these highlights are posted on the blog of GitHub instead of on the main website of Git itself?

      Probably the most obvious reason is that author Taylor Blau is employed by Github. If Github funds his work on Git, it doesn't seem strange at all that he posts on his employer's website.

      Also, if you're referring to "git-scm.com" as the "main website of Git", there may be practical reasons such as TB not having any authoring privileges there to write a blog type of post. I notice that Git contributor Junio C Hamano who wrote the Git release notes doesn't post blog articles there either. JCH's blog-style posts seem to be at a different url: https://git-blame.blogspot.com/

      You didn't ask but a related question people wonder about is why HN users (such as ossusermivami in this thread's case) submit Github links more often than the Git mailing list release notes: https://news.ycombinator.com/item?id=28207811

    • burgerbrainSep 2011

      Concerning "SHA-1 attack" and "Random GIT modifications"

      http://osdir.com/ml/version-control.git/2005-06/msg00583.html

      But seriously, if anything had been done thousands of people would have known by now.

      "just append some commits to any repository"

      People will notice that immediately.

      The simple fact of the matter is that due to a combination of both Git's technical attributes and the Linux kernel development organization/practices, we are quite safe. This was addressed last time this topic came up, I feel you should probably read some of the responses you got that time.

      If you still want to be concerned, I advise addressing this: http://git-blame.blogspot.com/2011/08/how-to-inject-malicious-commit-to-git.html

    • jedbrownApr 2013

      A topic branch workflow is tremendously useful even without separate people in the "developer" and "integrator" roles. For example, we have about 20 people regularly developing code and about five of us "integrate", first to 'next', then to 'master' when a feature has stabilized. We don't explicitly pass an integrator token so there is a possible race to the integration branch, but since we only merge there, it's actually pretty rare in practice. If you lose the race, the polite thing to do is discard your old merge, fast-forward, and repeat the merge. This preserves first-parent.

      http://git-blame.blogspot.com/2012/03/fun-with-first-parent.html

    • turawMay 2016

      > ...this is solved by the named branches in Mercurial...
      I'm not super-familiar with Mercurial (and only somewhat-familiar with git), but couldn't you get the same effect as named branches by just not deleting fully merged branches in git?

      > ... how can you tell which one of the parents is the previous commit in the master ...

      You can use --first-parent [1] to disambiguate that. In a nutshell, the master branch in your example would be the first parent, letting you disambiguate (and there's support for this in a lot of other git tools!)

      [1]: https://git-blame.blogspot.ca/2012/03/fun-with-first-parent.html

    • thomasfromcdnjsDec 2014

      "Otherwise, an unsuspecting user can run git pull from an innocuous-looking-but-malicious repository and have the meta-information in her repository overwritten, or executable hooks installed by the owner of that repository she pulled from (i.e. an attacker)." [1]

      You could pull down git hooks that root your box, pretty intense hack, update now!

      1. http://git-blame.blogspot.com.es/2014/12/git-1856-195-205-214-and-221-and.html

    • TobuMar 2012

      Most pull requests are the url of a repo and the name of a branch. Without a sha1, those aren't tamper-proof.

      Another option is to make pull requests for signed tags, which build on GPG trust; or to GPG-sign a pull request email containing a sha1.

      - https://lwn.net/Articles/473220/

      - http://git-blame.blogspot.com/2012/01/using-signed-tag-in-pull-requests.html

    Related

    Joey Hessjoeyh.name173 people

    Moreutils: A collection of Unix tools that nobody thought to write long ago

    Joey Hess
    Personal · last shared 2026
    Scott Chaconscottchacon.com23 people

    GitHub Flow

    Scott Chacon
    Personal · last shared 2026
    Felipe Contrerasfelipec.wordpress.com51 people

    Another user/developer banned from GNOME's bugzilla without any warning

    Felipe Contreras
    Personal · last shared 2025
    Atlassian Blogblogs.atlassian.com154 people

    Git? tig

    Atlassian Blog
    Company · last shared 2023
    Atlassian Developer Blogdeveloper.atlassian.com115 people

    A better pull request

    Atlassian Developer Blog
    Company · last shared 2026
    Tyler Ciprianitylercipriani.com25 people

    Git Notes: Git's coolest, most unloved­ feature (2022)

    Tyler Cipriani
    Personal · last shared 2026
    Solita Dev Blogdev.solita.fi21 people

    Taming Advanced Compilation bugs in ClojureScript projects

    Solita Dev Blog
    Company · last shared 2022
    Azure DevOps Blogblogs.msdn.microsoft.com/devops41 people

    A security vulnerability in Git that can lead to arbitrary code execution

    Azure DevOps Blog
    Company · last shared 2020