Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

Git 2.4 — atomic pushes, push to deploy, and more

Blog post from GitHub

Post Details
Company
Date Published
Author
Michael Haggerty
Word Count
1,134
Language
English
Hacker News Points
-
Summary

Git's release of version 2.4.0 introduces several key updates, focusing on cleanups, bug fixes, and minor improvements, while also adding notable features like the --atomic option for git push, which allows for atomic updates of multiple branches, reducing the risk of partial updates, particularly useful for automated tools. This release also enhances the push-to-deploy feature, with a push-to-checkout hook for customizing actions on the remote server and support for pushing to an "unborn branch," thus streamlining deployment processes. Additionally, the inverted grep feature in git log allows users to exclude certain patterns in search queries, enabling more sophisticated query combinations. Other enhancements include a more detailed git status with a double --verbose option, improved git log --decorate output, and a new configuration setting for push.followTags. The update also includes over 400 commits from 76 contributors, reflecting a wide range of minor improvements aimed at enhancing Git's functionality.