BlogsGitLabGit Hooks

Git Hooks

Git Hooks

3
posts
2014–2019

GitLab Enterprise Edition offers a user-friendly interface for setting project-specific Git Hooks. This allows for custom rules on pushes, such as enforcing specific commit message formats (e.g., referencing JIRA issues) via regular expressions, and preventing the deletion of tags. The platform is looking to add more Git Hook functionalities based on customer requests. This post details a coordinated effort with Bitbucket and GitHub to educate users on secure best practices following a Git ransomware attack. Eko uses GitLab CE to allow professionals from different disciplines to collaborate on creating and publishing Interactive Video projects. Eko Studio acts as a Git client, translating user edits into Git commits. Developers use the standard Git interface. GitLab's API and webhooks are leveraged to connect Eko's infrastructure, enabling repository creation, initial commits, and real-time UI updates based on push events.

2019

Git ransom campaign incident report

5/14/2019

This post details a coordinated effort with Bitbucket and GitHub to educate users on secure best practices following a Git ransomware incident. It highlights the compromise of user credentials (passwords, app passwords, API keys, and personal access tokens) leading to repository overwrites. It emphasizes the importance of MFA, strong unique passwords, secure handling of personal access tokens, and not exposing .git/config files. GitLab's specific contributions include secrets detection in SAST functionality and encouraging 2FA and SSH key setup.

2018

Git: Not just for developers

5/24/2018

This post details how Eko uses GitLab CE to enable collaboration among non-developer professionals (video editors, designers) and developers on Interactive Video projects. Eko Studio acts as a Git client, abstracting Git operations for less technical users by translating project edits into Git commits. It leverages GitLab's API to create repositories, push initial commits, and uses webhooks combined with Firebase to update the Eko Studio UI upon commits. Developers use standard Git clients. This demonstrates a novel application of Git and GitLab for cross-disciplinary content creation workflows.

2014

Feature highlight: Git Hooks in GitLab Enterprise Edition

8/25/2014

Introduced a user-friendly interface within GitLab Enterprise Edition for configuring project-specific Git Hooks. This interface allows users to define rules for pushes, including enforcing commit message formats using regular expressions and preventing tag deletion. The post highlights the potential for future expansion of Git Hook capabilities based on customer feedback.